Mail Archives: djgpp/2001/10/12/10:19:09
[A side note: could you please avoid dumbly copying the whole answered
posting verbatim if it's not strictly necessary? Just quote those
parts you actually refer to.]
ROLAND <roland_asmann AT yahoo DOT com> wrote:
[...]
> These are the errors I get from BISON:
> asml2901a.y:331: type clash (`' `label') on default
> action
> This is line 330-336 from asml2901a.y:
> iunit : label
This means that the types assigned to the two tokens, 'iunit' and
'label' are incompatible. According to an old post on comp.compilers,
it's a bug in Yacc that it didn't detect this error in your .y file.
To avoid that, you should supply an action for this rule, so Bison
doesn't have to insert a "default action" for you:
iunit: label {}
It took not much more than a Google lookup to find this information
--- please try to do such quick searches yourself, next time, before
turning here with your questions.
> This is a part of the errorlist from GCC
> equalize.y:77: parse error before "u_long"
See how it says 'before'? Well --- then *look* at your equalize.y
file, at and before line 77. You only posted line 77 and following,
AFAICS. That's useless for remote-debugging. It may be something
like a #define overriding 'unsigned' or 'long' that gets in the way,
so be sure to check preprocessed sources, too.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -