diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-04-14 06:07:59 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-04-14 06:07:59 -0700 |
commit | 71937179ae771612b60fd7c5b08212e38c6f0ddb (patch) | |
tree | a8c35a5f0d0d7d9d9a0bd2e1de4f5960b9b9385a /po/README | |
parent | a254e53a2c41763dec57ed213dfbd3fc4463acec (diff) | |
download | egawk-71937179ae771612b60fd7c5b08212e38c6f0ddb.tar.gz egawk-71937179ae771612b60fd7c5b08212e38c6f0ddb.tar.bz2 egawk-71937179ae771612b60fd7c5b08212e38c6f0ddb.zip |
@let: fix double removal of locals after compiling function.
* symbol.c (remove_locals): Iterate only up to param_cnt, like in
upstream Gawk. The locals above param_cnt have been freed by the @let
logic in the parser. Iterating up to frame_cnt here was a leftover
from the experimental @local implementation that was a precursor to @let.
* awkgram.y (mk_function): Update comment above call to
remove_locals.
Diffstat (limited to 'po/README')
0 files changed, 0 insertions, 0 deletions