diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-11-17 06:41:38 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-11-20 16:17:18 -0800 |
commit | a25862d24050e8ff6e8eb1077715abac4afe5ff4 (patch) | |
tree | 7b292a9cb0866475ceedca6737b323b06e8d5dd9 /txr.c | |
parent | 559c24b4900f70e893902dbac99d7a8a113fb6f0 (diff) | |
download | txr-a25862d24050e8ff6e8eb1077715abac4afe5ff4.tar.gz txr-a25862d24050e8ff6e8eb1077715abac4afe5ff4.tar.bz2 txr-a25862d24050e8ff6e8eb1077715abac4afe5ff4.zip |
@(rep) as shorthand for @(coll :vars nil).
* match.c (h_coll): Check for rep symbol, and handle similarly
to v_coll. Use symbol in error message.
(dir_tables_init): Bind rep symbol to h_coll.
* parser.y (elems): Don't generate rep_elem phrase structure
for the sake of catching "rep outside of output"; this
production now conflicts with the intent to allow this.
(elem): Add various REP productions which clones of COLL.
* txr.1: Documented new @(rep) usage.
Diffstat (limited to 'txr.c')
0 files changed, 0 insertions, 0 deletions