summaryrefslogtreecommitdiffstats
path: root/tests/012/aseq.expected
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-04-08 17:47:22 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-04-08 17:47:22 -0700
commitcea5c956486b8acae4bf5a23f0148d6b85d9acd3 (patch)
tree56fa09708b0fa235e8837cd1635fcfd33f3b2259 /tests/012/aseq.expected
parentfb07c84eeaeda96eac369ff763dd9c1c5b5ee0fb (diff)
downloadtxr-cea5c956486b8acae4bf5a23f0148d6b85d9acd3.tar.gz
txr-cea5c956486b8acae4bf5a23f0148d6b85d9acd3.tar.bz2
txr-cea5c956486b8acae4bf5a23f0148d6b85d9acd3.zip
parser: fix few memory leaks in error recovery.
* parser.y (var, o_var): In a few error productions in which we have a SYMTOK item, we should free the lexeme. This doesn't solve all leaks: any time we have a parser stack containing SYMTOK or TEXT items that belong to rules that have not yet been reduced, and the parse job is aborted due to errors, we leak those.
Diffstat (limited to 'tests/012/aseq.expected')
0 files changed, 0 insertions, 0 deletions