summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-01-19 04:34:18 -0800
committerKaz Kylheku <kaz@kylheku.com>2017-01-19 04:34:18 -0800
commitc5a77bdebfe7daa83eacd6b4e3e208473b5f9ad2 (patch)
tree08f6771c4c04dc563148e33b915bdcd618c866bb /lib.h
parentca741785bfccf52448c5e9a9bdd82778fc976f51 (diff)
downloadtxr-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