From: Todd C. Miller Date: Tue, 6 Jan 2004 06:42:14 +0000 (+0000) Subject: Regen w/ updated byacc from OpenBSD; fixes a gcc 3.2 issue with generated code. X-Git-Tag: SUDO_1_6_8~272 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a39a63f4fb44c706368a934113fcd63788daaa93;p=sudo Regen w/ updated byacc from OpenBSD; fixes a gcc 3.2 issue with generated code. --- diff --git a/sudo.tab.c b/sudo.tab.c index 083bb5af3..a9e5be1cf 100644 --- a/sudo.tab.c +++ b/sudo.tab.c @@ -234,13 +234,16 @@ yyerror(s) parse_error = TRUE; } #line 220 "parse.yacc" +#ifndef YYSTYPE_DEFINED +#define YYSTYPE_DEFINED typedef union { char *string; int BOOLEAN; struct sudo_command command; int tok; } YYSTYPE; -#line 244 "sudo.tab.c" +#endif /* YYSTYPE_DEFINED */ +#line 247 "sudo.tab.c" #define COMMAND 257 #define ALIAS 258 #define DEFVAR 259 @@ -1027,7 +1030,7 @@ init_parser() if (printmatches == TRUE) expand_match_list(); } -#line 979 "sudo.tab.c" +#line 982 "sudo.tab.c" /* allocate initial stack or double stack size, up to YYMAXDEPTH */ #if defined(__cplusplus) || defined(__STDC__) static int yygrowstack(void) @@ -1962,7 +1965,7 @@ case 91: yyval.BOOLEAN = TRUE; } break; -#line 1914 "sudo.tab.c" +#line 1917 "sudo.tab.c" } yyssp -= yym; yystate = *yyssp;