mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 00:33:03 +00:00
style: rename semanticVal as value
* data/skeletons/README-D.txt: Remove, now useless and obsolete. * data/skeletons/glr2.cc, examples/d/calc/calc.y, * tests/calc.at, tests/d.at, tests/scanner.at (semanticVal): Replace with... (value): this.
This commit is contained in:
@@ -563,7 +563,7 @@ class CalcLexer(R) : Lexer
|
||||
|
||||
]AT_YYERROR_DEFINE[
|
||||
|
||||
Value semanticVal_;]AT_LOCATION_IF([[
|
||||
Value value_;]AT_LOCATION_IF([[
|
||||
Location location;
|
||||
]])[
|
||||
int parseInt ()
|
||||
@@ -600,8 +600,8 @@ class CalcLexer(R) : Lexer
|
||||
// Numbers.
|
||||
if (input.front.isNumber)
|
||||
{
|
||||
semanticVal_.ival = parseInt;
|
||||
return Symbol(TokenKind.]AT_TOKEN_PREFIX[NUM, semanticVal_.ival]AT_LOCATION_IF([[, location]])[);
|
||||
value_.ival = parseInt;
|
||||
return Symbol(TokenKind.]AT_TOKEN_PREFIX[NUM, value_.ival]AT_LOCATION_IF([[, location]])[);
|
||||
}
|
||||
|
||||
// Individual characters
|
||||
|
||||
Reference in New Issue
Block a user