Re: How can I understand the output of bison's debug output ??

2009-10-15 Thread Luca Marzolla
> 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

Re: How to make yyerror() report line?

2009-10-15 Thread Luca Marzolla
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

Re: Windows Internationalization

2008-10-15 Thread Luca Marzolla
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

Windows Internationalization

2008-07-09 Thread Luca Marzolla
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