*** Sapid-5.285-old/analyzer/jdbin/java-yacc.y Mon Nov 24 13:53:39 2003 --- Sapid-5.285/analyzer/jdbin/java-yacc.y Thu Feb 2 10:51:39 2006 *************** *** 9,14 **** --- 9,15 ---- * * Author: Y.Hachisu 1998/06/18 * S.Yamamoto 1998/06/18 + * K.Maruyama 2006/02/02 bug fixed * * (C) Copyright: D.Bronnikov, Y.Hachisu and S.Yamamoto 1996 - 2003 * This file is a product of the project Sapid. *************** *** 1789,1795 **** * S_TRY * ->statement1 = Try Block * S_CATCHES ! * ->expression1 = VariableDecl(argument) * ->statement1 = Block * ->next = Catches * S_FINALLY --- 1790,1796 ---- * S_TRY * ->statement1 = Try Block * S_CATCHES ! * ->expression1 = VariableDecl(parameter) * ->statement1 = Block * ->next = Catches * S_FINALLY *************** *** 1845,1851 **** ; Catch /* =================================================================== */ ! : CATCH '(' CatchArgument ')' Block { setStatement($1, S_CATCH); setStatementCatchArgument($1, $3); --- 1846,1852 ---- ; Catch /* =================================================================== */ ! : CATCH '(' Parameter ')' Block { setStatement($1, S_CATCH); setStatementCatchArgument($1, $3); *************** *** 1860,1875 **** } ; - CatchArgument /* =========================================================== */ - : TypeName IDENTIFIER - { - setVariable($2); - $$ = setLocalVariable($2, $1, NULL, LOCAL_VAR); - - jpdDebugFunc2Call(jpdDebug.type, putType, $1, "Catch Type"); - } - ; - Finally /* ================================================================= */ : FINALLY Block { --- 1861,1866 ----