# HG changeset patch # User jwe # Date 1026360120 0 # Node ID fa0ae9105656d7c97eaf4294ba56b0302a2502ce # Parent addebffd496123463a69fad1ba0c03e15b3f5b80 [project @ 2002-07-11 04:02:00 by jwe] diff -r addebffd4961 -r fa0ae9105656 src/ChangeLog --- a/src/ChangeLog Thu Jul 11 03:39:34 2002 +0000 +++ b/src/ChangeLog Thu Jul 11 04:02:00 2002 +0000 @@ -1,5 +1,7 @@ 2002-07-10 John W. Eaton + * lex.l (maybe_unput_comma): Also handle '{' as an indexing op. + * DLD-FUNCTIONS/odessa.cc: New file. * Makefile.in (DLD_XSRC): Add it to the list. diff -r addebffd4961 -r fa0ae9105656 src/lex.l --- a/src/lex.l Thu Jul 11 03:39:34 2002 +0000 +++ b/src/lex.l Thu Jul 11 04:02:00 2002 +0000 @@ -2158,11 +2158,12 @@ if (postfix_un_op || bin_op || sep_op || dot_op) return; - int index_op = (c1 == '('); + int index_op = (c1 == '(' || c1 == '{'); if (index_op) { - // If there is no space before the '(', we don't insert a comma. + // If there is no space before the indexing op, we don't + // insert a comma. if (! spc_gobbled) return;