[Nice-commit] Nice/src/bossa/parser Parser.jj,1.289,1.290
Brought to you by:
bonniot
From: Arjan B. <ar...@us...> - 2004-12-20 13:56:29
|
Update of /cvsroot/nice/Nice/src/bossa/parser In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19598/F:/nice/src/bossa/parser Modified Files: Parser.jj Log Message: Converted Statement. Index: Parser.jj =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/parser/Parser.jj,v retrieving revision 1.289 retrieving revision 1.290 diff -C2 -d -r1.289 -r1.290 *** Parser.jj 19 Dec 2004 22:37:15 -0000 1.289 --- Parser.jj 20 Dec 2004 13:56:14 -0000 1.290 *************** *** 2469,2473 **** { res = bossa.syntax.dispatch.createLocalVariable(id,type,constant,e); } ( LOOKAHEAD( "," <IDENT> ( "=" | ";" | ",") ) ! "," id=ident() {e=null;} [ "=" e=Expression() ] { bossa.syntax.dispatch.addNextLocal(res,id,e); } )* { return res; } --- 2469,2473 ---- { res = bossa.syntax.dispatch.createLocalVariable(id,type,constant,e); } ( LOOKAHEAD( "," <IDENT> ( "=" | ";" | ",") ) ! "," id=ident() {e=null;} [ "=" e=Expression() ] { bossa.syntax.fun.addNextLocal(res,id,e); } )* { return res; } |