diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-04-14 06:04:39 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-04-14 06:04:39 -0700 |
commit | a254e53a2c41763dec57ed213dfbd3fc4463acec (patch) | |
tree | 62519200e9d7bb1f1cb7c87f68a1d2da1dbbe97c /gawk.texinfo | |
parent | 8c9e2dfeee4cb900e071bd50c59e1c1bdc468451 (diff) | |
download | egawk-a254e53a2c41763dec57ed213dfbd3fc4463acec.tar.gz egawk-a254e53a2c41763dec57ed213dfbd3fc4463acec.tar.bz2 egawk-a254e53a2c41763dec57ed213dfbd3fc4463acec.zip |
@let: bugfix: must clear dup_ent of re-used symbol.
* symbol.c (install): If parm is a recycled node coming from the
parser's let_free or let_gfree stack, it might have non-null
dup_ent. We must clear that, otherwise if we install that node
as a new entry, it will look like it has ghost duplicate list,
corrupting the variable allocation algorithm.
* test/let1.awk, test/let1.ok: Add tests, which broke.
Diffstat (limited to 'gawk.texinfo')
0 files changed, 0 insertions, 0 deletions