[Nice-commit] Nice/src/bossa/parser Parser.jj,1.284,1.285
Brought to you by:
bonniot
From: Arjan B. <ar...@us...> - 2004-12-16 20:18:57
|
Update of /cvsroot/nice/Nice/src/bossa/parser In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28629/F:/nice/src/bossa/parser Modified Files: Parser.jj Log Message: Converted DefaultMethodImplementation. Index: Parser.jj =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/parser/Parser.jj,v retrieving revision 1.284 retrieving revision 1.285 diff -C2 -d -r1.284 -r1.285 *** Parser.jj 16 Dec 2004 16:21:06 -0000 1.284 --- Parser.jj 16 Dec 2004 20:18:46 -0000 1.285 *************** *** 1416,1422 **** { Statement body; } body=code() { statements.add(body); } ! { res = NiceMethod.WithDefault.create (name, cst, returnType, parameters, ! body != null ? bossa.syntax.dispatch.createBlock(statements) : null, contract, isOverride); } --- 1416,1422 ---- { Statement body; } body=code() { statements.add(body); } ! { res = bossa.syntax.dispatch.createMethodWithDefault (name, cst, returnType, parameters, ! bossa.syntax.dispatch.createBlock(statements), contract, isOverride); } |