[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
suspect of bug
From: |
Gerardo Enrique Paredes Mancia |
Subject: |
suspect of bug |
Date: |
Tue, 5 Nov 2002 00:37:00 -0600 |
User-agent: |
KMail/1.4.3 |
when using bison on a file i get this:
bison -y ./src/common/parser.y
./src/common/parser.y:101.6: parse error, unexpected ":", expecting ";" or "|"
./src/common/parser.y:113.26-53: invalid $ value
./src/common/parser.y:113.26-53: $5 of `arg' has no declared type
./src/common/parser.y:113.26-114.73: invalid $ value
./src/common/parser.y:113.26-114.73: $5 of `arg' has no declared type
however in those lines i don't see anything wrong
100: arg1 : WORD
101: {$$ = wxmake_word($1); free($1);}
102: | STRING
103: {$$ = wxmake_string($1); free($1);}
102: | INTEGER
103: {$$ = wxmake_integer($1); free($1);}
104: | INTEGER PERIOD INTEGER
105: {$$ = wxmake_real($1, $3); free($1); free($3); }
106: | INTEGER EXP INTEGER
107: {$$ = wxmake_exp($1, $3); free($1); free($3); }
108: |
109: INTEGER PERIOD INTEGER EXP INTEGER
110: {$$ = wxmake_exp2($1, $3, $5); free($1);free($3);
111: free($5);}
112: | expr
113: {$$ = $1;}
;
i got this error compiling wxWindows-2.3.1 on FreeBSD-4.6-STABLE using bison
1.75, this problem did not ocurred on prior versions of Bison, so i suspect
must be a bug.
Gerardo
- suspect of bug,
Gerardo Enrique Paredes Mancia <=