From c0659069d0083ee2980c49f633e469ccdf22fc54 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 22 Jul 2004 14:39:34 +0000 Subject: [PATCH] (yystype) [defined YYSTYPE]: Define to YYSTYPE, not to our own type. --- data/lalr1.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.45.2