summaryrefslogtreecommitdiffstats
path: root/glob.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-05-25 21:38:36 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-05-25 21:38:36 -0700
commitd59b921c8ec271ed5861b54186519a09f617aaee (patch)
treedc8378a5570c7d91e281ce76084e108c5780c4f9 /glob.h
parentf492fa9b676e95dbf317ec3b34d085909713da73 (diff)
downloadtxr-d59b921c8ec271ed5861b54186519a09f617aaee.tar.gz
txr-d59b921c8ec271ed5861b54186519a09f617aaee.tar.bz2
txr-d59b921c8ec271ed5861b54186519a09f617aaee.zip
Stand-alone application support.
* txr.c (sysroot_init): Don't print "unable to calculate sysroot" error message in the fallback case, and use the absolute path of the executable directory as the sysroot in this case. (txr_main): Define static area prefixed by @(txr): header. If a string is present in this data area then process it as an argument. Treat the *args* variable carefully. If we use the stored string as the argument, save the args in orig_args variable, then later bind *args* to that. In the -e, -p and related options processing, we bind *args* to the original list so args are available to the expression being evaluated. If the expression mutates *args* then we keep the mutated args whether or not we are processing the stored string. * txr.1: Documented in new sction, STAND-ALONE APPLICATION SUPPORT.
Diffstat (limited to 'glob.h')
0 files changed, 0 insertions, 0 deletions