File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -767,17 +767,17 @@ enum {
767
767
/*
768
768
***********************************************************************/
769
769
{
770
- REBVAL value = * D_ARG (3 ); // TRY exception will trim the stack
771
770
REBFLG except = D_REF (2 );
771
+ REBVAL handler = * D_ARG (3 ); // TRY exception will trim the stack
772
772
773
773
if (Try_Block (VAL_SERIES (D_ARG (1 )), VAL_INDEX (D_ARG (1 )))) {
774
774
if (except ) {
775
- if (IS_BLOCK (& value )) {
776
- DO_BLK (& value );
775
+ if (IS_BLOCK (& handler )) {
776
+ DO_BLK (& handler );
777
777
}
778
- else { // do func[error] arg
779
- REBVAL arg = * DS_NEXT ; // will get overwritten
780
- Apply_Func (0 , & value , & arg , 0 );
778
+ else { // do func[err] error
779
+ REBVAL error = * DS_NEXT ; // will get overwritten
780
+ Apply_Func (0 , & handler , & error , 0 );
781
781
}
782
782
}
783
783
}
You can’t perform that action at this time.
0 commit comments