summaryrefslogtreecommitdiffstats
path: root/eval.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-03-22 17:10:09 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-03-22 17:10:09 -0700
commit6e06daed77cb0d3f34643975b50026e3e3699966 (patch)
tree5080fa4538b3a47238a576456caf96b6267a2813 /eval.h
parentf6e5d12ff65b4b500efef9a5494997130f98cad3 (diff)
downloadtxr-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 'eval.h')
-rw-r--r--eval.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.h b/eval.h
index d3e814ad..ae5008f1 100644
--- a/eval.h
+++ b/eval.h
@@ -26,7 +26,7 @@
extern val dwim_s, lambda_s, vector_lit_s, vec_list_s, list_s;
extern val hash_lit_s, hash_construct_s, struct_lit_s, qref_s;
-extern val eval_error_s;
+extern val eval_error_s, if_s;
extern val eq_s, eql_s, equal_s;
extern val last_form_evaled, last_form_expanded;