these should be generated with byacc, not bison

This commit is contained in:
Todd C. Miller
1999-08-24 16:40:58 +00:00
parent 7b0368f2f4
commit 25d75cea68
2 changed files with 1174 additions and 1616 deletions

2754
sudo.tab.c

File diff suppressed because it is too large Load Diff

View File

@@ -1,26 +1,24 @@
#define COMMAND 257
#define ALIAS 258
#define NTWKADDR 259
#define FQHOST 260
#define NETGROUP 261
#define USERGROUP 262
#define NAME 263
#define RUNAS 264
#define NOPASSWD 265
#define PASSWD 266
#define ALL 267
#define COMMENT 268
#define HOSTALIAS 269
#define CMNDALIAS 270
#define USERALIAS 271
#define RUNASALIAS 272
#define ERROR 273
typedef union { typedef union {
char *string; char *string;
int BOOLEAN; int BOOLEAN;
struct sudo_command command; struct sudo_command command;
int tok; int tok;
} YYSTYPE; } YYSTYPE;
#define COMMAND 257
#define ALIAS 258
#define NTWKADDR 259
#define FQHOST 260
#define NETGROUP 261
#define USERGROUP 262
#define NAME 263
#define RUNAS 264
#define NOPASSWD 265
#define PASSWD 266
#define ALL 267
#define COMMENT 268
#define HOSTALIAS 269
#define CMNDALIAS 270
#define USERALIAS 271
#define RUNASALIAS 272
#define ERROR 273
extern YYSTYPE yylval; extern YYSTYPE yylval;