Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontends/spin/spinlang.c
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ doSpinTransform(AST **astptr, int level, AST *parent)
// and can't differentiate a normal return from an abort.
if (gl_output != OUTPUT_BYTECODE /*|| gl_interp_kind == INTERP_KIND_NUCODE */ ) {
AST *defaultval = IsSpin2Lang(curfunc->language) ?
AstInteger(0) : ast->left;
AstOperator(K_BOOL_AND,ast->left,AstInteger(0)) : ast->left;
curfunc->force_locals_to_stack = 1; // if we do a catch we will want data on stack
AstReportAs(ast, &saveinfo); // any newly created AST nodes should reflect debug info from this one
*astptr = ast = NewAST(AST_TRYENV,
Expand Down
Loading