[Nice-commit] Nice/src/bossa/parser Parser.jj,1.151,1.152
Brought to you by:
bonniot
From: <ar...@us...> - 2003-03-23 23:40:48
|
Update of /cvsroot/nice/Nice/src/bossa/parser In directory sc8-pr-cvs1:/tmp/cvs-serv27377/F:/nice/src/bossa/parser Modified Files: Parser.jj Log Message: closures made of one assignment don't have to return void anymore. Index: Parser.jj =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/parser/Parser.jj,v retrieving revision 1.151 retrieving revision 1.152 diff -C2 -d -r1.151 -r1.152 *** Parser.jj 14 Mar 2003 14:10:48 -0000 1.151 --- Parser.jj 23 Mar 2003 23:40:38 -0000 1.152 *************** *** 1611,1618 **** exp=Expression() { ! if (exp instanceof AssignExp) ! body=new ExpressionStmt(exp); ! else ! body=new ReturnStmt(exp); } ) --- 1611,1615 ---- exp=Expression() { ! body=new ReturnStmt(exp); } ) |