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