> How can I understand the output of bison's debug output ??
such as
--(end of buffer or a NUL)
--accepting rule at line 95 ("int")
--accepting rule at line 173 (" ")
--accepting rule at line 112 ("x")
--accepting rule at line 173 (" ")
--accepting rule at line 146 (";")
--accepting rule at l
Rui Maciel ha scritto:
How is it possible to make yyerror also report the line where an error was
found?
Thanks in advance,
Rui Maciel
___
help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison
Use yylineno variable.
See %option
Tim Van Holder ha scritto:
Luca wrote:
Hello!
I have written a compiler for a pascal-like language, using flex and
bison.
The compiler is built under Windows using Visual Studio and works
very well, however how can I provide an internationalization?
I need to translate syntax error messages g
Hello!
I have written a compiler for a pascal-like language, using flex and bison.
The compiler is built under Windows using Visual Studio and works very
well, however how can I provide an internationalization?
I need to translate syntax error messages generated by bison's parser in
another lan