diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2011-11-06 19:37:06 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2011-11-06 19:37:06 -0800 |
commit | e84af1abfba77bc0d2707cae21e6a44b32de1a3c (patch) | |
tree | c837f7bbe98a0e6ed7e40d46fcca69999ba49bdf /parser.y | |
parent | 687fd6ab7031aa573cbcd1b3ae624eb02530a25c (diff) | |
download | txr-e84af1abfba77bc0d2707cae21e6a44b32de1a3c.tar.gz txr-e84af1abfba77bc0d2707cae21e6a44b32de1a3c.tar.bz2 txr-e84af1abfba77bc0d2707cae21e6a44b32de1a3c.zip |
Task #11581 & bugfix.
* match.c (noval_s): New symbol variable.
(vars_to_bindings): Use a default value of noval_s to indicate a
required variable, rather than nil, which would not allow
an optional variable with a default value of nil.
(h_coll, v_collect): Check default value against noval_s, rather than nil.
(v_gather): Support :vars keyword.
(syms_init): Initialize new symbol variable.
* txr.1: Documented gather's :vars parameter.
Diffstat (limited to 'parser.y')
0 files changed, 0 insertions, 0 deletions