[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Not getting parse error
From: |
Akim Demaille |
Subject: |
Re: Not getting parse error |
Date: |
06 Feb 2002 13:01:08 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) |
| Hans,
| I'm very sorry that I did not supply what you asked for. I didn't want to
| make your analysis more difficult. I simply didn't know what you wanted,
| which is my problem not yours. You obviously are very knowledgable about
| this, but I'm very much an amateur.
|
| However, your suggestion fixed my problem:
|
| >Also note that as the Bison generated parser reduces to the right, it is
| >better to write
| >FieldList:
| > FieldList ',' FIELD {}
| > | FIELD {}
| >as the parse stack then does not built up. See the Bison manual for more
| >about this.
|
| This change causes the failure to show up as I would expect. Again, the
| failure is expected when my pseudo-SQL does not conform to the
| specification. My reference to an error has nothing to do with Bison or
| how it works. I'm very pleased with Bison and it is a wonderful tool.
|
| Please accept my apology for not being clear, please continue to offer help
| to the less experienced, and know that I am grateful to you and Akim for
| helping me.
I still feel frustrated, because you still have not explained what has
changed for you.