mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
d: create alias Symbol for YYParse.Symbol
* data/skeletons/lalr1.d: Here. * doc/bison.texi: Document it. * examples/d/calc/calc.y, examples/d/simple/calc.y: Adjust. * tests/calc.at, tests/d.at, tests/scanner.at: Test it.
This commit is contained in:
committed by
Akim Demaille
parent
848a17fa33
commit
13bb2b78b3
@@ -14011,9 +14011,9 @@ This method is defined by the user to emit an error message. The first
|
||||
parameter is omitted if location tracking is not active.
|
||||
@end deftypemethod
|
||||
|
||||
@deftypemethod {Lexer} {YYParser.Symbol} yylex()
|
||||
Return the next token. The return value is of type YYParser.Symbol, which
|
||||
binds together the TokenKind, the semantic value and the location.
|
||||
@deftypemethod {Lexer} {Symbol} yylex()
|
||||
Return the next token. The return value is of type @code{Symbol}, which
|
||||
binds together the kind, the semantic value and the location.
|
||||
@end deftypemethod
|
||||
|
||||
@deftypemethod {Lexer} {YYPosition} getStartPos()
|
||||
|
||||
Reference in New Issue
Block a user