This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Bug: gcc/cp/parse.y & gcc/cp/decl.h: Conflict on TYPENAME
Zack Weinberg <zack@codesourcery.com> writes:
[snip]
> Incidentally, we have a couple of problems with defining a custom
> yyoverflow hook with bison 1.35. One is an unavoidable warning:
>
> bison.simple: In function `yyparse':
> bison.simple:924: warning: label `yyoverflowlab' defined but not used
>
> The other is that YYSTYPE is not available in the %{ ... %} region, so
> we cannot declare a variable with its proper type. (See comments in
> gcc/c-parse.in for what I'm talking about.)
Also, gcc/c-parse.in has two %{ %} regions, which caused some trouble
with some Bison CVS snapshots. Do other yaccs complain about that?
- Hari
--
Raja R Harinath ------------------------------ harinath@cs.umn.edu