Imported Upstream version 2.6.0
[debian/amanda] / recover-src / uparse.h
index 3c60816638a5dc0038c1f081d9a47a6146ab2e26..3d33acd56737c49c99edb49093a1fa16a9be263d 100644 (file)
-#ifndef BISON_UPARSE_H
-# define BISON_UPARSE_H
-
-#ifndef YYSTYPE
-typedef union {
-  int intval;
-  double floatval;
-  char *strval;
-  int subtok;
-} yystype;
-# define YYSTYPE yystype
-# define YYSTYPE_IS_TRIVIAL 1
+/* A Bison parser, made by GNU Bison 2.3.  */
+
+/* Skeleton interface for Bison's Yacc-like parsers in C
+
+   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+   Free Software Foundation, Inc.
+
+   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
+   the Free Software Foundation; either version 2, or (at your option)
+   any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin Street, Fifth Floor,
+   Boston, MA 02110-1301, USA.  */
+
+/* As a special exception, you may create a larger work that contains
+   part or all of the Bison parser skeleton and distribute that work
+   under terms of your choice, so long as that work isn't itself a
+   parser generator using the skeleton or a modified version thereof
+   as a parser skeleton.  Alternatively, if you modify or redistribute
+   the parser skeleton itself, you may (at your option) remove this
+   special exception, which will cause the skeleton and the resulting
+   Bison output files to be licensed under the GNU General Public
+   License without this special exception.
+
+   This special exception was added by the Free Software Foundation in
+   version 2.2 of Bison.  */
+
+/* Tokens.  */
+#ifndef YYTOKENTYPE
+# define YYTOKENTYPE
+   /* Put the tokens into the symbol table, so that GDB and other debuggers
+      know about them.  */
+   enum yytokentype {
+     LISTHOST = 258,
+     LISTDISK = 259,
+     SETHOST = 260,
+     SETDISK = 261,
+     SETDATE = 262,
+     SETTAPE = 263,
+     SETMODE = 264,
+     SETDEVICE = 265,
+     CD = 266,
+     CDX = 267,
+     QUIT = 268,
+     DHIST = 269,
+     LS = 270,
+     ADD = 271,
+     ADDX = 272,
+     EXTRACT = 273,
+     DASH_H = 274,
+     LIST = 275,
+     DELETE = 276,
+     DELETEX = 277,
+     PWD = 278,
+     CLEAR = 279,
+     HELP = 280,
+     LCD = 281,
+     LPWD = 282,
+     MODE = 283,
+     SMB = 284,
+     TAR = 285,
+     PATH = 286,
+     DATE = 287
+   };
 #endif
-# define       LISTDISK        257
-# define       SETHOST 258
-# define       SETDISK 259
-# define       SETDATE 260
-# define       SETTAPE 261
-# define       SETMODE 262
-# define       CD      263
-# define       CDX     264
-# define       QUIT    265
-# define       DHIST   266
-# define       LS      267
-# define       ADD     268
-# define       ADDX    269
-# define       EXTRACT 270
-# define       LIST    271
-# define       DELETE  272
-# define       DELETEX 273
-# define       PWD     274
-# define       CLEAR   275
-# define       HELP    276
-# define       LCD     277
-# define       LPWD    278
-# define       MODE    279
-# define       SMB     280
-# define       TAR     281
-# define       PATH    282
-# define       DATE    283
+/* Tokens.  */
+#define LISTHOST 258
+#define LISTDISK 259
+#define SETHOST 260
+#define SETDISK 261
+#define SETDATE 262
+#define SETTAPE 263
+#define SETMODE 264
+#define SETDEVICE 265
+#define CD 266
+#define CDX 267
+#define QUIT 268
+#define DHIST 269
+#define LS 270
+#define ADD 271
+#define ADDX 272
+#define EXTRACT 273
+#define DASH_H 274
+#define LIST 275
+#define DELETE 276
+#define DELETEX 277
+#define PWD 278
+#define CLEAR 279
+#define HELP 280
+#define LCD 281
+#define LPWD 282
+#define MODE 283
+#define SMB 284
+#define TAR 285
+#define PATH 286
+#define DATE 287
+
+
 
 
+#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
+typedef union YYSTYPE
+#line 42 "uparse.y"
+{
+       int     intval;
+       double  floatval;
+       char *  strval;
+       int     subtok;
+}
+/* Line 1489 of yacc.c.  */
+#line 120 "uparse.h"
+       YYSTYPE;
+# define yystype YYSTYPE /* obsolescent; will be withdrawn */
+# define YYSTYPE_IS_DECLARED 1
+# define YYSTYPE_IS_TRIVIAL 1
+#endif
+
 extern YYSTYPE yylval;
 
-#endif /* not BISON_UPARSE_H */