From 4e33de0b5b4a32e9b9b44c2ac23f4d757eb6e92e Mon Sep 17 00:00:00 2001 From: Kaz Kylheku <kaz@kylheku.com> Date: Thu, 29 Sep 2011 08:45:26 -0700 Subject: * match.c (mingap_k, maxgap_k, gap_k, times_k, lines_k): New symbol variables. (match_lines): Keyword arguments in collect implemented. (match_init): New function. * match.h (match_init): Declared. * parser.l (COLLECT): Lexical syntax changed for COLLECT to allow for argument material. * parser.y (%union): obj renamed to val. (exprs_opt): New nonterminal. (collect_clause): Rewritten for arguments. * txr.c (main): Call to match_init introduced. --- txr.c | 1 + 1 file changed, 1 insertion(+) (limited to 'txr.c') diff --git a/txr.c b/txr.c index ac7db17c..e66cc0ae 100644 --- a/txr.c +++ b/txr.c @@ -145,6 +145,7 @@ int main(int argc, char **argv) val stack_bottom = nil; progname = argv[0] ? utf8_dup_from(argv[0]) : progname; init(progname, oom_realloc_handler, &stack_bottom); + match_init(); return txr_main(argc, argv); } -- cgit v1.2.3