[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: simple parsing problem
From: |
Akim Demaille |
Subject: |
Re: simple parsing problem |
Date: |
23 Oct 2002 09:31:35 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter) |
| The following is a simple test grammer I wrote to recognize token sequences
| composed of an optional INDENT or DEDENT token followed by an ID and then a
| NEWLINE.
|
| When the lexer sends it the token sequence:
|
| ID
| NEWLINE
| INDENT
| ID
| NEWLINE
| DEDENT
| ID
| NEWLINE
|
| there is a syntax error called between the DEDENT and the ID.
| Is there something wrong with my grammer? Thanks.
See --debug, YYDEBUG and yydebug in the documentation.