mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
c: use YYNOMEM instead of -2
See 84b1972c96.
* data/skeletons/glr.c, data/skeletons/yacc.c (YYNOMEM): New.
Use it.
This commit is contained in:
3
TODO
3
TODO
@@ -2,13 +2,12 @@
|
||||
** Documentation
|
||||
- yyexpected_tokens in all the languages.
|
||||
- remove yysyntax_error_arguments.
|
||||
- YYNOMEM
|
||||
|
||||
** Naming conventions
|
||||
yysyntax_error_arguments should be yy_syntax_error_arguments, since it's a
|
||||
private implementation detail.
|
||||
|
||||
Give a name to magic constants such as -2 (YYNOMEM?).
|
||||
|
||||
There's no good reason to use the "yy" prefix in parser::context, is there?
|
||||
See also the case of Java. We should keep the prefix for private
|
||||
implementation details, but maybe not for public APIs.
|
||||
|
||||
Reference in New Issue
Block a user