bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Segmentation fault


From: Tim Van Holder
Subject: Re: Segmentation fault
Date: Mon, 30 Aug 2004 08:19:15 +0200
User-agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)

Arne 'Timwi' Heizmann wrote:
Also, allow me to present a minimal test case which produces the
segmentation fault:

%token X
%start startsymbol
%%
startsymbol       : /* empty */
unusednonterminal : X
%%


A segfault is definitely bad and needs to be fixed, but your grammar
is invalid - each rule needs to end with a semicolon.
I do seem to remember a segfault issue in the bison lexer being
patched - it may be this one.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]