(yystype) [defined YYSTYPE]: Define to YYSTYPE, not to our own type.

This commit is contained in:
Paul Eggert
2004-07-22 14:39:34 +00:00
parent 60c8294801
commit c0659069d0

View File

@@ -161,7 +161,9 @@ b4_syncline([@oline@], [@ofile@])[
# define YYERROR_VERBOSE ]b4_error_verbose[ # define YYERROR_VERBOSE ]b4_error_verbose[
#endif #endif
#ifndef YYSTYPE #ifdef YYSTYPE
typedef YYSTYPE yystype;
#else
]m4_ifdef([b4_stype], ]m4_ifdef([b4_stype],
[b4_syncline([b4_stype_line], [b4_filename]) [b4_syncline([b4_stype_line], [b4_filename])
typedef union b4_stype yystype; typedef union b4_stype yystype;