style: use yyval only, not yysval

* data/skeletons/glr.c, data/skeletons/glr2.cc: Use yyval, as in
the other skeletons.
This commit is contained in:
Akim Demaille
2020-12-26 11:43:50 +01:00
parent c18dbfcb06
commit 92dc8bf23b
3 changed files with 46 additions and 52 deletions

8
TODO
View File

@@ -16,16 +16,10 @@ Discourage the use of YYDEBUG in C++ (see thread with Jot). Stop supporting
Add value_type as a synonym for semantic_type.
** Asymmetries
In glr_state, we have yysval and yylloc. It should be yyval/yyloc (and
yylval/yylloc when referring to the lookahead). glr.c should
s/yysval/yyval/.
Also
Why are yylval and yylloc treated differently?
yystack.yyglrShift (create_state_set_index(0), 0, 0, yylval, &yylloc);
Why are yylval and yylloc treated differently?
** yyerrok in Java
And add tests in calc.at, to prepare work for D.