[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Segmentation fault
From: |
Hans Aberg |
Subject: |
Re: Segmentation fault |
Date: |
Mon, 30 Aug 2004 19:04:03 +0200 |
At 08:19 +0200 2004/08/30, Tim Van Holder wrote:
>> %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.
Bison used to accept rules without semicolon. I do not know whther this has
been changed so that it now is required.
Hans Aberg