summaryrefslogtreecommitdiffstats
path: root/parser.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-10-24 06:32:02 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-10-24 06:32:02 -0700
commitde53a2eaa1832388204a969fb79d11eb5f4a0790 (patch)
treea4540bd1bb0b655831d5235b74cc8ef0c69fd91e /parser.c
parent14c6036dec37ae37cc0207aff130128528be7d00 (diff)
downloadtxr-de53a2eaa1832388204a969fb79d11eb5f4a0790.tar.gz
txr-de53a2eaa1832388204a969fb79d11eb5f4a0790.tar.bz2
txr-de53a2eaa1832388204a969fb79d11eb5f4a0790.zip
stdlib: remove unneeded macros from compiled image.
A few macros in the library are local; they are needed only inside functions in the same module. This means they are not referenced by anything once those functions are compiled; we should not be carrying the compiled versions of these macros into the image. We wrap these macro definitions with eval-only, telling the compiler not to emit their compiled version into the output file. * share/txr/stdlib/asm.tl (with-lev-idx, defopcode, defopcode-derived): Wrap macro with eval-only. * share/txr/stdlib/compiler.tl (compile-in-toplevel): Likewise. * share/txr/stdlib/path-test.tl (sys:path-test): Likewise.
Diffstat (limited to 'parser.c')
0 files changed, 0 insertions, 0 deletions