summaryrefslogtreecommitdiffstats
path: root/parser.l
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-11-10 17:24:14 -0800
committerKaz Kylheku <kaz@kylheku.com>2011-11-10 17:24:14 -0800
commit959b2af05ba8b7907a74407f0f8e187e4ae8ca4c (patch)
tree2dd4519823b830b84dce126ff2db5a87948b78d8 /parser.l
parent8bef574c2fc8d99301f2ebbbaad2acc6e9e8891a (diff)
downloadtxr-959b2af05ba8b7907a74407f0f8e187e4ae8ca4c.tar.gz
txr-959b2af05ba8b7907a74407f0f8e187e4ae8ca4c.tar.bz2
txr-959b2af05ba8b7907a74407f0f8e187e4ae8ca4c.zip
* match.c (opt_nobindings, opt_arraydims): Global
variables moved from parser.l. (opt_lisp_bindings): New variable. (dump_bindings): Dump Lisp syntax bindings on standard output if opt_lisp_bindings is set. (v_cat): Do not complain about trailing material; this is not compatible with horizontal cat. * parser.l (opt_nobindings, opt_arraydims): Moved to match.c. * txr.c (txr_main): New options, --lisp-bindings and the equivalent -l. * txr.h: opt_lisp_bindings declared.
Diffstat (limited to 'parser.l')
-rw-r--r--parser.l2
1 files changed, 0 insertions, 2 deletions
diff --git a/parser.l b/parser.l
index db95ef3e..897c6532 100644
--- a/parser.l
+++ b/parser.l
@@ -63,8 +63,6 @@ val yyin_stream;
cnum lineno = 1;
int opt_loglevel = 1; /* 0 - quiet; 1 - normal; 2 - verbose */
-int opt_nobindings = 0;
-int opt_arraydims = 1;
int errors;