public
/
piyacc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be91e30
)
In /ndcode/piyacc/generate_py.py, remove a workaround that set yylval, yylloc before...
author
Nick Downing
<nick@ndcode.org>
Mon, 25 Dec 2023 04:23:35 +0000
(15:23 +1100)
committer
Nick Downing
<nick@ndcode.org>
Mon, 25 Dec 2023 05:38:31 +0000
(16:38 +1100)
ndcode/piyacc/generate_py.py
patch
|
blob
|
history
diff --git
a/ndcode/piyacc/generate_py.py
b/ndcode/piyacc/generate_py.py
index
c6c86ce
..
bc97b80
100644
(file)
--- a/
ndcode/piyacc/generate_py.py
+++ b/
ndcode/piyacc/generate_py.py
@@
-140,8
+140,6
@@
YYERROR_VERBOSE = {1:s}
),
(
''' if yychar == -1:
- yylval = None
- yylloc = YYLTYPE() # temporary until lex_yy updated, should be None
yychar = lex_yy.yylex()
yy_element_stack.append(lex_yy.yy_element_space)
lex_yy.yy_element_space = element.Element() # should use factory here