From: Paul Eggert Date: Thu, 22 Jul 2004 14:39:34 +0000 (+0000) Subject: (yystype) [defined YYSTYPE]: Define to YYSTYPE, not to our own type. X-Git-Tag: BISON-2_0~132 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/c0659069d0083ee2980c49f633e469ccdf22fc54?ds=inline (yystype) [defined YYSTYPE]: Define to YYSTYPE, not to our own type. --- diff --git a/data/lalr1.cc b/data/lalr1.cc index fdd8c259..200f42d2 100644 --- a/data/lalr1.cc +++ b/data/lalr1.cc @@ -161,7 +161,9 @@ b4_syncline([@oline@], [@ofile@])[ # define YYERROR_VERBOSE ]b4_error_verbose[ #endif -#ifndef YYSTYPE +#ifdef YYSTYPE +typedef YYSTYPE yystype; +#else ]m4_ifdef([b4_stype], [b4_syncline([b4_stype_line], [b4_filename]) typedef union b4_stype yystype;