diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-03-22 17:10:09 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-03-22 17:10:09 -0700 |
commit | 6e06daed77cb0d3f34643975b50026e3e3699966 (patch) | |
tree | 5080fa4538b3a47238a576456caf96b6267a2813 /txr.c | |
parent | f6e5d12ff65b4b500efef9a5494997130f98cad3 (diff) | |
download | txr-6e06daed77cb0d3f34643975b50026e3e3699966.tar.gz txr-6e06daed77cb0d3f34643975b50026e3e3699966.tar.bz2 txr-6e06daed77cb0d3f34643975b50026e3e3699966.zip |
New semantics for @(if) directive.
* eval.h (if_s): Declared.
* match.c (v_if): New static function.
(dir_tables_init): Register v_if in v_directive_table under if symbol.
* parser.y (IF): Token assigned to <lineno> type.
(if_clause, elif_clauses_opt, else_clause_opt): New syntactic
representation, understood by v_if.
* txr.1: Documented if semantics more precisely, dropped
the text about it being syntactic sugar for a cases with require,
added compatibility note.
Diffstat (limited to 'txr.c')
0 files changed, 0 insertions, 0 deletions