d: remove unnecessary methods from the Lexer interface
commit32bb53870bb9caa2f8de081fdb53cb3540c8ce7a
authorAdela Vais <adela.vais99@gmail.com>
Mon, 21 Dec 2020 13:49:27 +0000 (21 15:49 +0200)
committerAkim Demaille <akim.demaille@gmail.com>
Mon, 21 Dec 2020 14:53:32 +0000 (21 15:53 +0100)
tree752bcee21228117dc9391e34859532f946c0ea24
parent27109d9d4ac11665612119344141df0b9f440fbb
d: remove unnecessary methods from the Lexer interface

The complete symbol approach in yylex removes the need for the methods
semanticVal, startPos and endPos, which were used when the values were
reported separately.

* data/skeletons/lalr1.d: Here.
* doc/bison.texi: Remove sections about the three methods.
* examples/d/calc/calc.y, examples/d/simple/calc.y: Remove the unused methods.
* tests/calc.at, tests/d.at, tests/scanner.at: Test it.
data/skeletons/lalr1.d
doc/bison.texi
examples/d/calc/calc.y
examples/d/simple/calc.y
tests/calc.at
tests/d.at
tests/scanner.at