X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/c547693afdacf4b865027d3bb8c53f601eadb5ae..cb9ec4fada480554cf47810fee736997d64e7427:/TODO diff --git a/TODO b/TODO index 21ef4b91..1c5d3585 100644 --- a/TODO +++ b/TODO @@ -1,13 +1,22 @@ * 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. + +** m4 names +b4_shared_declarations is no longer what it is. Make it +b4_parser_declaration for instance. -** 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 +** glr.cc: %defines +it should not be mandatory. -** Update the documentation on gnu.org +** stack.hh +Get rid of it. The original idea is nice, but actually it makes +the code harder to follow, and uselessly different from the other +skeletons. + +** 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 +48,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 +93,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: @@ -126,12 +128,6 @@ The code bw glr.c and yacc.c is really alike, we can certainly factor some parts. -* 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 ** Figures