summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAdela Vais <adela.vais99@gmail.com>2020-12-11 00:06:25 +0200
committerAkim Demaille <akim.demaille@gmail.com>2020-12-21 06:56:00 +0100
commit6692df8992efe7e1ade449b2585caef8313be6ea (patch)
tree05e6330bcd582c893de273409d0887ae734e239d /examples
parentcc04459cfee92905a635c36958d66f0edb25a257 (diff)
downloadbison-6692df8992efe7e1ade449b2585caef8313be6ea.tar.gz
d: remove yychar from YYParse.parse()
The yychar variable was keeping the external form of the token (the TokenKind). As the D parser translates the token to its internal form (the SymbolKind) inside the struct Symbol, there is no need for yychar anymore. * data/examples/lalr1.d (yychar): Remove. Use only yytoken.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions