mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 23:33:03 +00:00
d: support api.symbol.prefix and api.token.prefix
The D skeleton was not properly supporting them. * data/skeletons/d.m4, data/skeletons/lalr1.d: Fix it. * tests/calc.at: Check it.
This commit is contained in:
committed by
Akim Demaille
parent
9b18cac96b
commit
2e5592b3ab
@@ -186,7 +186,7 @@ m4_define([b4_token_enum],
|
||||
m4_define([b4_token_enums],
|
||||
[/* Token kinds. */
|
||||
public enum TokenKind {
|
||||
]b4_symbol_kind([-2])[ = -2,
|
||||
]b4_symbol(-2, id)[ = -2,
|
||||
b4_symbol_foreach([b4_token_enum])dnl
|
||||
}
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user