diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-02-10 05:04:36 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-02-10 05:04:36 -0800 |
commit | 0f8e8e539d8c9c160e5832ccd20a72bd9038d023 (patch) | |
tree | b938025e506579df69e004fcf806192c07b1572c /txr.c | |
parent | 70c07bc501f560f09fa52c6a754fabc8f905860f (diff) | |
download | txr-0f8e8e539d8c9c160e5832ccd20a72bd9038d023.tar.gz txr-0f8e8e539d8c9c160e5832ccd20a72bd9038d023.tar.bz2 txr-0f8e8e539d8c9c160e5832ccd20a72bd9038d023.zip |
awk macro: warn about invalid function use in rng.
Improving the new feature to handle functions also,
and improve the diagnostic by reporting the specific
to or from subform of which contains the reference.
* share/txr/stdlib/awk.tl (sys:awk-code-move-check): Take a
an argument indicating the kinds of bindings being checked,
symbols or functions, and an extra form argument.
(sys:awk-mac-let): Pass new arguments to
sys:awk-code-move-check and also call it two more times
to report on functions also.
Diffstat (limited to 'txr.c')
0 files changed, 0 insertions, 0 deletions