/* A Bison parser, made by GNU Bison 1.875c. */
|
/* A Bison parser, made by GNU Bison 1.875c. */
|
|
|
/* Skeleton parser for Yacc-like parsing with Bison,
|
/* Skeleton parser for Yacc-like parsing with Bison,
|
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
|
|
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
the Free Software Foundation; either version 2, or (at your option)
|
the Free Software Foundation; either version 2, or (at your option)
|
any later version.
|
any later version.
|
|
|
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
GNU General Public License for more details.
|
GNU General Public License for more details.
|
|
|
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 59 Temple Place - Suite 330,
|
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
|
|
/* As a special exception, when this file is copied by Bison into a
|
/* As a special exception, when this file is copied by Bison into a
|
Bison output file, you may use that output file without restriction.
|
Bison output file, you may use that output file without restriction.
|
This special exception was added by the Free Software Foundation
|
This special exception was added by the Free Software Foundation
|
in version 1.24 of Bison. */
|
in version 1.24 of Bison. */
|
|
|
/* Tokens. */
|
/* Tokens. */
|
#ifndef YYTOKENTYPE
|
#ifndef YYTOKENTYPE
|
# define YYTOKENTYPE
|
# define YYTOKENTYPE
|
/* Put the tokens into the symbol table, so that GDB and other debuggers
|
/* Put the tokens into the symbol table, so that GDB and other debuggers
|
know about them. */
|
know about them. */
|
enum yytokentype {
|
enum yytokentype {
|
NEWLINE = 258,
|
NEWLINE = 258,
|
VERBOSE = 259,
|
VERBOSE = 259,
|
FILENAME = 260,
|
FILENAME = 260,
|
ADDLIB = 261,
|
ADDLIB = 261,
|
LIST = 262,
|
LIST = 262,
|
ADDMOD = 263,
|
ADDMOD = 263,
|
CLEAR = 264,
|
CLEAR = 264,
|
CREATE = 265,
|
CREATE = 265,
|
DELETE = 266,
|
DELETE = 266,
|
DIRECTORY = 267,
|
DIRECTORY = 267,
|
END = 268,
|
END = 268,
|
EXTRACT = 269,
|
EXTRACT = 269,
|
FULLDIR = 270,
|
FULLDIR = 270,
|
HELP = 271,
|
HELP = 271,
|
QUIT = 272,
|
QUIT = 272,
|
REPLACE = 273,
|
REPLACE = 273,
|
SAVE = 274,
|
SAVE = 274,
|
OPEN = 275
|
OPEN = 275
|
};
|
};
|
#endif
|
#endif
|
#define NEWLINE 258
|
#define NEWLINE 258
|
#define VERBOSE 259
|
#define VERBOSE 259
|
#define FILENAME 260
|
#define FILENAME 260
|
#define ADDLIB 261
|
#define ADDLIB 261
|
#define LIST 262
|
#define LIST 262
|
#define ADDMOD 263
|
#define ADDMOD 263
|
#define CLEAR 264
|
#define CLEAR 264
|
#define CREATE 265
|
#define CREATE 265
|
#define DELETE 266
|
#define DELETE 266
|
#define DIRECTORY 267
|
#define DIRECTORY 267
|
#define END 268
|
#define END 268
|
#define EXTRACT 269
|
#define EXTRACT 269
|
#define FULLDIR 270
|
#define FULLDIR 270
|
#define HELP 271
|
#define HELP 271
|
#define QUIT 272
|
#define QUIT 272
|
#define REPLACE 273
|
#define REPLACE 273
|
#define SAVE 274
|
#define SAVE 274
|
#define OPEN 275
|
#define OPEN 275
|
|
|
|
|
|
|
|
|
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
|
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
|
#line 38 "arparse.y"
|
#line 38 "arparse.y"
|
typedef union YYSTYPE {
|
typedef union YYSTYPE {
|
char *name;
|
char *name;
|
struct list *list ;
|
struct list *list ;
|
|
|
} YYSTYPE;
|
} YYSTYPE;
|
/* Line 1275 of yacc.c. */
|
/* Line 1275 of yacc.c. */
|
#line 83 "arparse.h"
|
#line 83 "arparse.h"
|
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
# define YYSTYPE_IS_DECLARED 1
|
# define YYSTYPE_IS_DECLARED 1
|
# define YYSTYPE_IS_TRIVIAL 1
|
# define YYSTYPE_IS_TRIVIAL 1
|
#endif
|
#endif
|
|
|
extern YYSTYPE yylval;
|
extern YYSTYPE yylval;
|
|
|
|
|
|
|
|
|