X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/6687da3425189eb988f527931cec4d4cfb5fd32e..d00ff612f8eae89d9a6badcd45895b03dcaf76b6:/TODO diff --git a/TODO b/TODO index cec18669..ea878c9e 100644 --- a/TODO +++ b/TODO @@ -1,9 +1,31 @@ * Short term +** 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. + +** glr.cc: %defines +it should not be mandatory. + +** $ and others in epilogue +A stray $ is a warning in the actions, but an error in the epilogue. +IMHO, it should not even be a warning in the epilogue. + +** obstack_copy etc. +There seems to be some other interesting functions for obstacks that +we should consider using. + +** 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'? -** Update the documentation on gnu.org - ** Get rid of fake #lines [Bison: ...] Possibly as simple as checking whether the column number is nonnegative. @@ -34,10 +56,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 @@ -83,9 +101,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: