]> granicus.if.org Git - sudo/commitdiff
Regen w/ updated byacc from OpenBSD; fixes a gcc 3.2 issue with generated code.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 6 Jan 2004 06:42:14 +0000 (06:42 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 6 Jan 2004 06:42:14 +0000 (06:42 +0000)
sudo.tab.c

index 083bb5af37ee6cfda67aa9dcf2b077797b3e6d85..a9e5be1cfe18b2bb838b04c07f082ba34e0815bb 100644 (file)
@@ -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;