[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/7] skel: better aliasing of identifiers
From: |
Akim Demaille |
Subject: |
Re: [PATCH 3/7] skel: better aliasing of identifiers |
Date: |
Sat, 12 Jan 2013 09:08:39 +0100 |
Le 11 janv. 2013 à 17:22, Théophile Ranquet <address@hidden> a écrit :
> +*** The epilogue is no longer affected by internal #defines
> +
> + The glr.c skeleton uses defines such as #define yylval (yystackp->yyval) in
> + generated code. These weren't properly undefined before the inclusion of
> + the user epilogue, so functions such as the following were butchered by the
> + preprocessor expansion:
> +
> + int yylex (yy::parser::semantic_type *yylval);
Just use YYSTYPE.
> + This is has been fixed: yylval, ynerrs, yychar, and yylloc are now valid
^^^^^^^ typo
> + identifiers for user-provided variables.
> +
> ** Renamed %define variables
Fine!
- Re: [PATCH 1/7] skel: correctly indent switch cases, (continued)
[PATCH 2/7] glr.cc: fatal if using api.token.ctor without variants, Theophile Ranquet, 2013/01/11
[PATCH 7/7] c++: privatize variant blind copies, Theophile Ranquet, 2013/01/11