[Swan] Who changed parser.l ????

Paul Wouters pwouters at redhat.com
Tue Jan 8 20:00:05 EET 2013


On Tue, 8 Jan 2013, Philippe Vouters wrote:

> If you remember your test case, wouldn't this code in parser.l do the trick:
> <<EOF>> {
>         static int once = 0;
>         if (once = !once) {
>             stacktop->line++;
>         } else if(parser_y_eof()) {
>             yyterminate();
>         }
> }

That seems to do the trick for me and Antony, but we are still doing
some more testing on it.

Paul


More information about the Swan mailing list