summaryrefslogtreecommitdiffstats
path: root/stdlib/build.tl
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2023-04-09 01:57:17 -0700
committerKaz Kylheku <kaz@kylheku.com>2023-04-09 01:57:17 -0700
commit310b3d130c19ae862da352e4e2f29ecb21235846 (patch)
treeb70523cbe604c2b2c15fca96e0b4975b677e72e9 /stdlib/build.tl
parent9f757186a0fc5de9bce7a26f0f0d422a92b45276 (diff)
downloadtxr-310b3d130c19ae862da352e4e2f29ecb21235846.tar.gz
txr-310b3d130c19ae862da352e4e2f29ecb21235846.tar.bz2
txr-310b3d130c19ae862da352e4e2f29ecb21235846.zip
autoload: temporarily disable backward compat.
The purpose of this change is to help with the situation when an uncompiled stdlib is being used (.tl files, no .tlo) and txr is invoked with -C <num> to select compatibility mode with an old version. The problem with compatibility is that it potentially breaks the library due to the different behavior of some macros like caseql. Some test cases in the test suite use backwards compatibility, and sometimes it is necessary to run with the uncompiled test suite when debugging compiler work: situations when the compiler is too broken to build the library. * autoload.c (autoload_try): Temporarly set the opt_compat option to 0 (disabled) around autoload processing. Thus the loading of library code in source code form will not be adversely affected by any syntax or macro level backward compatibility hacks.
Diffstat (limited to 'stdlib/build.tl')
0 files changed, 0 insertions, 0 deletions