Skip to content

Commit

Permalink
Merge pull request #292 from mknos/bc-unknown-func
Browse files Browse the repository at this point in the history
bc: runtime error eats too much input
  • Loading branch information
briandfoy authored Nov 14, 2023
2 parents 7ee2d98 + 6cf6f82 commit 1fe619b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/bc
Original file line number Diff line number Diff line change
Expand Up @@ -2611,7 +2611,7 @@ sub exec_stmt
print STDERR "No function $name has been defined\n";
@ope_stack = (0);
$return = 3;
YYERROR;
last INSTR;
}

if($sym_table{$name}{type} eq 'builtin') {
Expand Down

0 comments on commit 1fe619b

Please sign in to comment.