mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
More TODO.
* TODO (single stack, yysyntax_error): New.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-11-11 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
More TODO.
|
||||
* TODO (single stack, yysyntax_error): New.
|
||||
|
||||
2008-11-11 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
Make it possible to return a symbol_type from yylex.
|
||||
|
||||
11
TODO
11
TODO
@@ -77,6 +77,17 @@ including the separation bw declaration and definition. See for
|
||||
instance b4_table_define in lalr1.cc. This way, we could even factor
|
||||
C vs. C++ definitions.
|
||||
|
||||
* From lalr1.cc to yacc.c
|
||||
** Single stack
|
||||
Merging the three stacks in lalr1.cc simplified the code, prompted for
|
||||
other improvements and also made it faster (probably because memory
|
||||
management is performed once instead of three times). I suggest that
|
||||
we do the same in yacc.c.
|
||||
|
||||
** yysyntax_error
|
||||
In lalr1.cc we invoke it with the translated lookahead (yytoken), and
|
||||
yacc.c uses yychar. I don't see why.
|
||||
|
||||
* Header guards
|
||||
|
||||
From Franc,ois: should we keep the directory part in the CPP guard?
|
||||
|
||||
Reference in New Issue
Block a user