X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=recover-src%2Fuparse.h;h=3d33acd56737c49c99edb49093a1fa16a9be263d;hb=afaa71b3866b46b082b6c895772e15b36d8865fe;hp=5db3760d0cefd0490c885bba059ad9dfe8dca187;hpb=2df780bff19c457b0debb7adc29972a0bc2a5dc2;p=debian%2Famanda diff --git a/recover-src/uparse.h b/recover-src/uparse.h index 5db3760..3d33acd 100644 --- a/recover-src/uparse.h +++ b/recover-src/uparse.h @@ -1,7 +1,9 @@ -/* A Bison parser, made by GNU Bison 2.0. */ +/* A Bison parser, made by GNU Bison 2.3. */ -/* Skeleton parser for Yacc-like parsing with Bison, - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +/* 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 @@ -15,13 +17,21 @@ 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., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + 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. -/* As a special exception, when this file is copied by Bison into a - Bison output file, you may use that output file without restriction. - This special exception was added by the Free Software Foundation - in version 1.24 of Bison. */ + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. */ /* Tokens. */ #ifndef YYTOKENTYPE @@ -29,76 +39,85 @@ /* Put the tokens into the symbol table, so that GDB and other debuggers know about them. */ enum yytokentype { - LISTDISK = 258, - SETHOST = 259, - SETDISK = 260, - SETDATE = 261, - SETTAPE = 262, - SETMODE = 263, - CD = 264, - CDX = 265, - QUIT = 266, - DHIST = 267, - LS = 268, - ADD = 269, - ADDX = 270, - EXTRACT = 271, - LIST = 272, - DELETE = 273, - DELETEX = 274, - PWD = 275, - CLEAR = 276, - HELP = 277, - LCD = 278, - LPWD = 279, - MODE = 280, - SMB = 281, - TAR = 282, - PATH = 283, - DATE = 284 + 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 258 -#define SETHOST 259 -#define SETDISK 260 -#define SETDATE 261 -#define SETTAPE 262 -#define SETMODE 263 -#define CD 264 -#define CDX 265 -#define QUIT 266 -#define DHIST 267 -#define LS 268 -#define ADD 269 -#define ADDX 270 -#define EXTRACT 271 -#define LIST 272 -#define DELETE 273 -#define DELETEX 274 -#define PWD 275 -#define CLEAR 276 -#define HELP 277 -#define LCD 278 -#define LPWD 279 -#define MODE 280 -#define SMB 281 -#define TAR 282 -#define PATH 283 -#define DATE 284 +/* 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) -#line 40 "uparse.y" -typedef union YYSTYPE { - int intval; - double floatval; - char *strval; - int subtok; -} YYSTYPE; -/* Line 1318 of yacc.c. */ -#line 102 "uparse.h" +#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 @@ -106,5 +125,3 @@ typedef union YYSTYPE { extern YYSTYPE yylval; - -