[Nice-commit] Nice/src/bossa/parser Parser.jj,1.258,1.259
Brought to you by:
bonniot
From: Daniel B. <bo...@us...> - 2004-08-13 12:52:27
|
Update of /cvsroot/nice/Nice/src/bossa/parser In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18139/src/bossa/parser Modified Files: Parser.jj Log Message: Remove parsing for "= ...;". It was only used for compiled toplevel functions, which do not exist anymore. Index: Parser.jj =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/parser/Parser.jj,v retrieving revision 1.258 retrieving revision 1.259 diff -C2 -d -r1.258 -r1.259 *** Parser.jj 13 Aug 2004 06:24:39 -0000 1.258 --- Parser.jj 13 Aug 2004 12:52:11 -0000 1.259 *************** *** 1365,1372 **** // An expression { Expression exp; } ! "=" ! ( "..." { return null; } // toplevel function in interface file ! | ! exp=Expression() ";" { code = bossa.syntax.dispatch.createReturnStmt(exp, /* fake */ true); } | {Statement res;} --- 1365,1372 ---- // An expression { Expression exp; } ! "=" ! ( ! exp=Expression() ";" ! { code = bossa.syntax.dispatch.createReturnStmt(exp, /* fake */ true); } | {Statement res;} |