diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2020-03-21 08:04:01 +0100 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2020-03-28 15:13:27 +0100 |
commit | 1045c8d0efe8d8549c67842b08ab6b3d3685838d (patch) | |
tree | 695dd3c5f113df97699c48001a56d2ecc0c81ed5 /THANKS | |
parent | ef8965b5f55995cfeede5f3037aff7704e19fe93 (diff) | |
download | bison-1045c8d0efe8d8549c67842b08ab6b3d3685838d.tar.gz |
examples: don't use yysyntax_error_arguments
Suggested by Adrian Vogelsgesang.
https://lists.gnu.org/archive/html/bison-patches/2020-02/msg00069.html
* data/skeletons/lalr1.java (Context.EMPTY, Context.getToken): New.
(Context.yyntokens): Rename as...
(Context.NTOKENS): this.
Because (i) all the Java coding styles recommend upper case for
constants, and (ii) the Java Skeleton exposes Lexer.EOF, not
Lexer.YYEOF.
* data/skeletons/yacc.c (yyparse_context_token): New.
* examples/c/bistromathic/parse.y (yyreport_syntax_error): Don't use
yysyntax_error_arguments.
* examples/java/calc/Calc.y (yyreportSyntaxError): Likewise.
Diffstat (limited to 'THANKS')
-rw-r--r-- | THANKS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4,6 +4,7 @@ it is today without the invaluable help of these people: Aaro Koskinen aaro.koskinen@iki.fi Аскар Сафин safinaskar@mail.ru Adam Sampson ats@offog.org +Adrian Vogelsgesang avogelsgesang@tableau.com Ahcheong Lee dkcjd2000@gmail.com Airy Andre Airy.Andre@edf.fr Akim Demaille akim@gnu.org |