[Nice-commit] Nice/src/gnu/expr CatchClause.java,1.3,1.4
Brought to you by:
bonniot
From: Daniel B. <bo...@us...> - 2004-04-15 10:03:29
|
Update of /cvsroot/nice/Nice/src/gnu/expr In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9018/src/gnu/expr Modified Files: CatchClause.java Log Message: Handle catch blocks that have an anonymous function capturing the exception. Index: CatchClause.java =================================================================== RCS file: /cvsroot/nice/Nice/src/gnu/expr/CatchClause.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** CatchClause.java 26 Jan 2002 10:50:31 -0000 1.3 --- CatchClause.java 15 Apr 2004 10:03:20 -0000 1.4 *************** *** 31,35 **** Variable catchVar = catchDecl.allocateVariable(code); code.enterScope (scope); ! code.emitCatchStart(catchVar); body.compileWithPosition(comp, target); code.emitCatchEnd(); --- 31,36 ---- Variable catchVar = catchDecl.allocateVariable(code); code.enterScope (scope); ! code.emitCatchStart((ClassType) catchDecl.getType()); ! catchDecl.compileStore(comp); body.compileWithPosition(comp, target); code.emitCatchEnd(); |