diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2025-05-30 18:21:48 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2025-05-30 18:21:48 -0700 |
commit | 9bd308f89d9aaf75a05f9545e220b44420a697b7 (patch) | |
tree | 1179c447fa8fbe72c783c6d39a4d90fa8c7aaf6f /protsym.c | |
parent | e943099896e19c9638d55597c1b00474916d13e9 (diff) | |
download | txr-9bd308f89d9aaf75a05f9545e220b44420a697b7.tar.gz txr-9bd308f89d9aaf75a05f9545e220b44420a697b7.tar.bz2 txr-9bd308f89d9aaf75a05f9545e220b44420a697b7.zip |
parser: two fixes in buf literals.
* parser.y (buflit_items): Here we have length_buf($$) referring
to the semantic result value of the rule. It should be referring
to $1. It works because the Bison-generated code runs the
$$ = $1 logic before all rules.
(buflit_item): Let's use num_fast rather than num to
produce the byte value since.
* y.tab.c.shipped: Regenerated.
Diffstat (limited to 'protsym.c')
0 files changed, 0 insertions, 0 deletions