[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Missing token "]" bug
From: |
Hans Aberg |
Subject: |
Re: Missing token "]" bug |
Date: |
Fri, 11 Jul 2003 21:33:35 +0200 |
At 11:30 -0700 2003/07/11, Paul Eggert wrote:
>> %token left_bracket_key "["
>> %token right_bracket_key "foo"
>> so that "]" is missing, then I get the error message:
>
>I think that bug was fixed a while ago. I just tried
>
>%token left_bracket "["
>%%
>start: "[" ;
>
>with Bison 1.875 and it worked fine. If this isn't enough to tickle
>the bug that you observe, can you please send a self-contained test
>case that does tickle it? Thanks.
Here it is:
%token left_bracket_key "["
%token right_bracket_key "foo"
%%
list:
"[" list_body "foo"
;
list_body:
;
%%
It perhaps has to do with the stuff in the body.
Also, I am using my own C++ skeleton file, so if you can't reproduce it,
please let me know.
Hans Aberg