Fix obscure bug in code loading support that could cause parsing of
functions in multi-line files to fail, depending on the state of the stack. The fix is sanctioned by the vendor and will appear in bc-1.07. PR: bin/34601 Reported by: mi Obtained from: Phil Nelson <phil@cs.wwu.edu>
This commit is contained in:
parent
a078a05252
commit
5fa4faea8e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/vendor/bc/dist/; revision=90238
@ -156,7 +156,7 @@ load_code (code)
|
||||
long label_no;
|
||||
long vaf_name; /* variable, array or function number. */
|
||||
long func;
|
||||
program_counter save_adr;
|
||||
static program_counter save_adr;
|
||||
|
||||
/* Initialize. */
|
||||
str = code;
|
||||
|
Loading…
Reference in New Issue
Block a user