X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/7beac808142d10724e16d623ce5d56f530449ade..d27c5e6534e7ee2fc402ae0d0b59d6316a9da2ad:/TODO diff --git a/TODO b/TODO index d86d8d8b..4f4674f7 100644 --- a/TODO +++ b/TODO @@ -1,13 +1,14 @@ * Short term -** Variable names. -What should we name `variant' and `lex_symbol'? +** scan-code.l +Avoid variables for format strings, as then GCC cannot check them. +show_sub_messages should call show_sub_message. -** Use b4_symbol in all the skeleton -Move its definition in the more standard places and deploy it in other -skeletons. Then remove the older system, including the tables -generated by output.c +** m4 names +b4_shared_declarations is no longer what it is. Make it +b4_parser_declaration for instance. -** Update the documentation on gnu.org +** Variable names. +What should we name `variant' and `lex_symbol'? ** Get rid of fake #lines [Bison: ...] Possibly as simple as checking whether the column number is nonnegative. @@ -39,10 +40,6 @@ as lr0.cc, why upper case? Enhance bench.pl with %b to run different bisons. * Various -** Warnings -Warnings about type tags that are used in printer and dtors, but not -for symbols? - ** YYERRCODE Defined to 256, but not used, not documented. Probably the token number for the error token, which POSIX wants to be 256, but which @@ -88,9 +85,6 @@ so both 256 and 257 are "mysterious". "\"end of command\"", "error", "$undefined", "\"=\"", "\"break\"", -** YYFAIL -It is seems to be *really* obsolete now, shall we remove it? - ** yychar == yyempty_ The code in yyerrlab reads: @@ -125,16 +119,6 @@ we do the same in yacc.c. The code bw glr.c and yacc.c is really alike, we can certainly factor some parts. -* Header guards - -From François: should we keep the directory part in the CPP guard? - - -* Yacc.c: CPP Macros - -Do some people use YYPURE, YYLSP_NEEDED like we do in the test suite? -They should not: it is not documented. But if they need to, let's -find something clean (not like YYLSP_NEEDED...). * Report