diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-04-09 01:57:17 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-04-09 01:57:17 -0700 |
commit | 310b3d130c19ae862da352e4e2f29ecb21235846 (patch) | |
tree | b70523cbe604c2b2c15fca96e0b4975b677e72e9 /stdlib/build.tl | |
parent | 9f757186a0fc5de9bce7a26f0f0d422a92b45276 (diff) | |
download | txr-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