Changeset 465 for trunk/thune/parse.c
- Timestamp:
- 08/29/07 21:14:57 (15 months ago)
- Files:
-
- 1 modified
-
trunk/thune/parse.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/thune/parse.c
r458 r465 25 25 26 26 27 #define _errorThrown ur_is(ut->tos, UT_ERROR) 27 /* 28 #define BREAK_EXCEPTION \ 29 (ur_is(UR_TOS, UT_WORD) && (ur_atom(UR_TOS) == UR_ATOM_BREAK)) 30 */ 31 28 32 #define PARSE_EX ut, UR_EX_SCRIPT 29 33 … … 374 378 375 379 case UT_PAREN: 376 ur_eval( ut, rit->series.n, rit->series.it ); 377 if( _errorThrown ) 378 { 379 //UR_CALL_OP = OP_THROW; 380 ut->callOp = OP_THROW; 381 380 if( UR_EVAL_ERROR == 381 ur_eval( ut, rit->series.n, rit->series.it ) ) 382 { 383 UR_CALL_OP = OP_THROW; 382 384 pe->error = PARSE_EX_ERROR; 383 385 return 0; … … 892 894 893 895 case UT_PAREN: 894 ur_eval( ut, rit->series.n, rit->series.it ); 895 if( _errorThrown ) 896 { 897 //UR_CALL_OP = OP_THROW; 898 ut->callOp = OP_THROW; 899 896 if( UR_EVAL_ERROR == 897 ur_eval( ut, rit->series.n, rit->series.it ) ) 898 { 899 UR_CALL_OP = OP_THROW; 900 900 pe->error = PARSE_EX_ERROR; 901 901 return 0; … … 1085 1085 rules = (UCell*) _parseStr( ut, &pe, rit, rend, &pe.input.it ); 1086 1086 if( pe.error == PARSE_EX_ERROR ) 1087 return; 1087 { 1088 //if( ! BREAK_EXCEPTION ) 1089 return; 1090 } 1088 1091 1089 1092 UR_S_DROP; … … 1129 1132 rules = (UCell*) _parseBlock( ut, &pe, rit, rend, &pe.input.it ); 1130 1133 if( pe.error == PARSE_EX_ERROR ) 1131 return; 1134 { 1135 //if( ! BREAK_EXCEPTION ) 1136 return; 1137 } 1132 1138 1133 1139 UR_S_DROP;
