Import binutils-2.17.
[dragonfly.git] / contrib / binutils-2.17 / binutils / arparse.h
blob41044396e199e439ec05ccf866b2c854f354f359
1 /* A Bison parser, made by GNU Bison 2.1. */
3 /* Skeleton parser for Yacc-like parsing with Bison,
4 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 Boston, MA 02110-1301, USA. */
21 /* As a special exception, when this file is copied by Bison into a
22 Bison output file, you may use that output file without restriction.
23 This special exception was added by the Free Software Foundation
24 in version 1.24 of Bison. */
26 /* Tokens. */
27 #ifndef YYTOKENTYPE
28 # define YYTOKENTYPE
29 /* Put the tokens into the symbol table, so that GDB and other debuggers
30 know about them. */
31 enum yytokentype {
32 NEWLINE = 258,
33 VERBOSE = 259,
34 FILENAME = 260,
35 ADDLIB = 261,
36 LIST = 262,
37 ADDMOD = 263,
38 CLEAR = 264,
39 CREATE = 265,
40 DELETE = 266,
41 DIRECTORY = 267,
42 END = 268,
43 EXTRACT = 269,
44 FULLDIR = 270,
45 HELP = 271,
46 QUIT = 272,
47 REPLACE = 273,
48 SAVE = 274,
49 OPEN = 275
51 #endif
52 /* Tokens. */
53 #define NEWLINE 258
54 #define VERBOSE 259
55 #define FILENAME 260
56 #define ADDLIB 261
57 #define LIST 262
58 #define ADDMOD 263
59 #define CLEAR 264
60 #define CREATE 265
61 #define DELETE 266
62 #define DIRECTORY 267
63 #define END 268
64 #define EXTRACT 269
65 #define FULLDIR 270
66 #define HELP 271
67 #define QUIT 272
68 #define REPLACE 273
69 #define SAVE 274
70 #define OPEN 275
75 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
76 #line 37 "arparse.y"
77 typedef union YYSTYPE {
78 char *name;
79 struct list *list ;
81 } YYSTYPE;
82 /* Line 1447 of yacc.c. */
83 #line 84 "arparse.h"
84 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
85 # define YYSTYPE_IS_DECLARED 1
86 # define YYSTYPE_IS_TRIVIAL 1
87 #endif
89 extern YYSTYPE yylval;