[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: |
Sun, 29 Aug 2004 20:04:23 +0200 |
What Bison version are you using? What do you mean by "declaring a
non-terminal"? -- Only tokens are declared, the rest are assumed to be
non-terminals.
At 17:34 +0100 2004/08/29, Arne 'Timwi' Heizmann wrote:
>Dear Bison developer community,
>
>in my attempts to write a parser using Bison, I have encountered a
>situation where Bison returns a segmentation fault. After long
>experimentation, I found out that it occurs whenever I declare a
>non-terminal, and create a production rule for it, but never use the
>non-terminal on any right-hand side.
>
>Now that I know about this, I'm fine, but I can imagine a lot of users
>are stumped by this. For that reason, it might be worth fixing in the
>next release.
>
>Thanks!
>Timwi
Hans Aberg