X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/d0f3fe233dd66d3206c9f4ac36e2b2b2a608aa4e..1915f1331ee5866cbd9f7fdd2b5a5b78e5652d56:/data/yacc.c?ds=sidebyside diff --git a/data/yacc.c b/data/yacc.c index 4cf0b05f..d0bf6857 100644 --- a/data/yacc.c +++ b/data/yacc.c @@ -197,7 +197,7 @@ b4_syncline([@oline@], [@ofile@])], # define YYSTYPE_IS_TRIVIAL 1 #endif -#ifndef YYLTYPE +]b4_location_if([#ifndef YYLTYPE typedef struct yyltype { int first_line; @@ -208,6 +208,7 @@ typedef struct yyltype # define YYLTYPE ]b4_location_type[ # define YYLTYPE_IS_TRIVIAL 1 #endif +])[ /* Copy the second part of user declarations. */ ]b4_post_prologue @@ -249,7 +250,7 @@ b4_syncline([@oline@], [@ofile@])[ #if (! defined (yyoverflow) \ && (! defined (__cplusplus) \ - || (YYLTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) + || (]b4_location_if([YYLTYPE_IS_TRIVIAL && ])[YYSTYPE_IS_TRIVIAL))) /* A type that is properly aligned for any stack member. */ union yyalloc