From 959b2af05ba8b7907a74407f0f8e187e4ae8ca4c Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 10 Nov 2011 17:24:14 -0800 Subject: * 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. --- parser.l | 2 -- 1 file changed, 2 deletions(-) (limited to 'parser.l') 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; -- cgit v1.2.3