Le 27 janv. 2013 à 00:45, Bernd Clausen a écrit :
> I have the following destructor specified for strings like IDENT.
>
> %destructor { printf ("free at line %d: %s\n",@$.first_line, $$->c_str());
> delete($$); }
>
> Now I have the following input. The first line is valid, the second line
>
On 12 Dec 2008, at 15:14, sgaurelius wrote:
So, you re saying to do the first and add more errors as I find
more errors.
Yeah, I guess this is the optimal.
Since it goes deep until finding the first error, it will print
messages for
all errors or for the most basic one ? The latter is bett
So, you re saying to do the first and add more errors as I find more errors.
Yeah, I guess this is the optimal.
Since it goes deep until finding the first error, it will print messages for
all errors or for the most basic one ? The latter is better I think.
Stratis
Hans Aberg wrote:
>
> On 12
On 12 Dec 2008, at 00:39, sgaurelius wrote:
if I want to define, exactly what messages or actions bison should
do when
an error occurs, what should I do. From what I 've searched, either
I can do
1) what is says in
http://www.slac.stanford.edu/comp/unix/gnu-info/bison_9.html
or
2) what is s