diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-04-04 23:20:13 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-04-04 23:20:13 -0700 |
commit | f0613c4c83359a528adc4f5cf149372b160529f7 (patch) | |
tree | 98690842eb38e39e85f329e110f45bdc1b400fec /tests/010 | |
parent | de32c069f84052de9edae9a3bf87d864b22d501e (diff) | |
download | txr-f0613c4c83359a528adc4f5cf149372b160529f7.tar.gz txr-f0613c4c83359a528adc4f5cf149372b160529f7.tar.bz2 txr-f0613c4c83359a528adc4f5cf149372b160529f7.zip |
compiler: move sys:bind-mac-error to error.tl.
The sys:bind-mac-error function is a run-time support function
for the compiler-generated code for destructuring. But the
compiler.tl source file is a bad place for it. It means that
compiled modules which need sys:bind-mac-error auto-load the
entire compiler. That easily creates an irresolveable cycle,
because the compiler is on top of the foodchain.
No, sys:bind-mac-error belongs in error.tl; the light-weight
module of low-dependency run-time support routines for error
reporting.
* lisplib.c (error_set_entries): Add sys:bind-mac-error symbol
here.
(compiler_set_entries): Remove it from here.
* share/txr/stdlib/compiler.tl (sys:bind-mac-error): Function
removed.
* share/txr/stdlib/error.tl (sys:bind-mac-error): Function
moved here.
Diffstat (limited to 'tests/010')
0 files changed, 0 insertions, 0 deletions