diff options
author | Adela Vais <adela.vais99@gmail.com> | 2020-12-11 00:06:25 +0200 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2020-12-21 06:56:00 +0100 |
commit | 6692df8992efe7e1ade449b2585caef8313be6ea (patch) | |
tree | 05e6330bcd582c893de273409d0887ae734e239d /examples | |
parent | cc04459cfee92905a635c36958d66f0edb25a257 (diff) | |
download | bison-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