summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-09-26 21:32:04 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-09-26 21:32:04 -0700
commit2d65252ececfd013ae933e64bd75a63561ecb197 (patch)
tree8f3aea94d6145c2f4d1a5b0e35c13b93408fefae /eval.c
parent97df3ff628fcfb63e16671c667f0d50d503e17a5 (diff)
downloadtxr-2d65252ececfd013ae933e64bd75a63561ecb197.tar.gz
txr-2d65252ececfd013ae933e64bd75a63561ecb197.tar.bz2
txr-2d65252ececfd013ae933e64bd75a63561ecb197.zip
Use *load-path* in load/include directive.
* match.c (v_load): Obtain parent load path from *load-path* variable, rather than from source location info associated with the directive. This changes the semantics of when a @(load ...) occurs in code included via @(include ...). That @(load ...) is processed in the *load-path* context of the parent, rather than the include. * tests/011/txr-case.txr: Load txr-case.txr from the standard library, rather than include it. Otherwise txr-case.txr looks for txr-case.tl in tests/011.
Diffstat (limited to 'eval.c')
0 files changed, 0 insertions, 0 deletions