Imported Upstream version 3.3.1
[debian/amanda] / recover-src / uparse.h
1 /* A Bison parser, made by GNU Bison 2.5.  */
2
3 /* Bison interface for Yacc-like parsers in C
4    
5       Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc.
6    
7    This program is free software: you can redistribute it and/or modify
8    it under the terms of the GNU General Public License as published by
9    the Free Software Foundation, either version 3 of the License, or
10    (at your option) any later version.
11    
12    This program is distributed in the hope that it will be useful,
13    but WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15    GNU General Public License for more details.
16    
17    You should have received a copy of the GNU General Public License
18    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
19
20 /* As a special exception, you may create a larger work that contains
21    part or all of the Bison parser skeleton and distribute that work
22    under terms of your choice, so long as that work isn't itself a
23    parser generator using the skeleton or a modified version thereof
24    as a parser skeleton.  Alternatively, if you modify or redistribute
25    the parser skeleton itself, you may (at your option) remove this
26    special exception, which will cause the skeleton and the resulting
27    Bison output files to be licensed under the GNU General Public
28    License without this special exception.
29    
30    This special exception was added by the Free Software Foundation in
31    version 2.2 of Bison.  */
32
33
34 /* Tokens.  */
35 #ifndef YYTOKENTYPE
36 # define YYTOKENTYPE
37    /* Put the tokens into the symbol table, so that GDB and other debuggers
38       know about them.  */
39    enum yytokentype {
40      LISTHOST = 258,
41      LISTDISK = 259,
42      LISTPROPERTY = 260,
43      SETHOST = 261,
44      SETDISK = 262,
45      SETDATE = 263,
46      SETTAPE = 264,
47      SETMODE = 265,
48      SETDEVICE = 266,
49      SETPROPERTY = 267,
50      CD = 268,
51      CDX = 269,
52      QUIT = 270,
53      DHIST = 271,
54      LS = 272,
55      ADD = 273,
56      ADDX = 274,
57      EXTRACT = 275,
58      DASH_H = 276,
59      LIST = 277,
60      DELETE = 278,
61      DELETEX = 279,
62      PWD = 280,
63      CLEAR = 281,
64      HELP = 282,
65      LCD = 283,
66      LPWD = 284,
67      MODE = 285,
68      SMB = 286,
69      TAR = 287,
70      APPEND = 288,
71      PRIORITY = 289,
72      SETTRANSLATE = 290,
73      NL = 291,
74      STRING = 292
75    };
76 #endif
77 /* Tokens.  */
78 #define LISTHOST 258
79 #define LISTDISK 259
80 #define LISTPROPERTY 260
81 #define SETHOST 261
82 #define SETDISK 262
83 #define SETDATE 263
84 #define SETTAPE 264
85 #define SETMODE 265
86 #define SETDEVICE 266
87 #define SETPROPERTY 267
88 #define CD 268
89 #define CDX 269
90 #define QUIT 270
91 #define DHIST 271
92 #define LS 272
93 #define ADD 273
94 #define ADDX 274
95 #define EXTRACT 275
96 #define DASH_H 276
97 #define LIST 277
98 #define DELETE 278
99 #define DELETEX 279
100 #define PWD 280
101 #define CLEAR 281
102 #define HELP 282
103 #define LCD 283
104 #define LPWD 284
105 #define MODE 285
106 #define SMB 286
107 #define TAR 287
108 #define APPEND 288
109 #define PRIORITY 289
110 #define SETTRANSLATE 290
111 #define NL 291
112 #define STRING 292
113
114
115
116
117 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
118 typedef union YYSTYPE
119 {
120
121 /* Line 2068 of yacc.c  */
122 #line 43 "uparse.y"
123
124         int     intval;
125         double  floatval;
126         char *  strval;
127         int     subtok;
128
129
130
131 /* Line 2068 of yacc.c  */
132 #line 133 "uparse.h"
133 } YYSTYPE;
134 # define YYSTYPE_IS_TRIVIAL 1
135 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
136 # define YYSTYPE_IS_DECLARED 1
137 #endif
138
139 extern YYSTYPE yylval;
140
141