diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-01-19 04:34:18 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-01-19 04:34:18 -0800 |
commit | c5a77bdebfe7daa83eacd6b4e3e208473b5f9ad2 (patch) | |
tree | 08f6771c4c04dc563148e33b915bdcd618c866bb /lib.h | |
parent | ca741785bfccf52448c5e9a9bdd82778fc976f51 (diff) | |
download | txr-c5a77bdebfe7daa83eacd6b4e3e208473b5f9ad2.tar.gz txr-c5a77bdebfe7daa83eacd6b4e3e208473b5f9ad2.tar.bz2 txr-c5a77bdebfe7daa83eacd6b4e3e208473b5f9ad2.zip |
Bugfix: expand macros in collect, coll, gather.
In the argument lists of @(collect)/@(repeat), @(coll)/@(rep)
and @(gather), Lisp expressions can appear as arguments
to keywords or for supplying default values for variables.
These are not being macro-expanded.
* match.c (match_expand_vars): New static function.
(match_expand_keyword_args): New function.
* match.h (match_expand_keyword_args): Declared.
* parser.y (gather_clause, collect_clause, elem): Use new
function in match.c to expand the argument lists.
Diffstat (limited to 'lib.h')
0 files changed, 0 insertions, 0 deletions