mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
errors: support indented context info in m4 macros
* TODO: Address the issue, so remove it. * data/bison.m4: Use b4_error with [[note]] rather than a complain_at for context information. * src/complain.c (complain_args): Take an additional argument, an indentation pointer, to allow the dispatching of context information. * src/complain.h (complain_args): Adjust prototype. * src/scan-skel.l (at_directive_perform): Recognize the new @note mark. * tests/input.at: Adjust. Signed-off-by: Akim Demaille <akim@lrde.epita.fr>
This commit is contained in:
committed by
Akim Demaille
parent
0505df0cba
commit
c6c8de1609
4
TODO
4
TODO
@@ -1,8 +1,4 @@
|
||||
* Short term
|
||||
** erroneous test
|
||||
src/complains.c changed the output of errors (prefixes), but the m4 macros
|
||||
have not been changed to reflect this change.
|
||||
Fix the message "an identifier expected" (m4) in tests/input.at.
|
||||
|
||||
** push-parser
|
||||
Check it too when checking the different kinds of parsers. And be
|
||||
|
||||
Reference in New Issue
Block a user