mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-12 22:03:02 +00:00
d: create alias Value for YYSemanticType
* data/skeletons/d.m4: Here. * data/skeletons/lalr1.d, 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
8e44b24ba8
commit
b00fa62e95
@@ -78,8 +78,8 @@ class CalcLexer(R) : Lexer
|
||||
|
||||
void yyerror(string s) {}
|
||||
|
||||
YYSemanticType semanticVal_;
|
||||
YYSemanticType semanticVal() @property { return semanticVal_; }
|
||||
Value semanticVal_;
|
||||
Value semanticVal() @property { return semanticVal_; }
|
||||
|
||||
Symbol yylex()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user