Subversion Repositories Kolibri OS

Rev

Rev 5219 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5219 Rev 6324
1
/* A Bison parser, made by GNU Bison 2.3.  */
1
/* A Bison parser, made by GNU Bison 3.0.  */
2
 
2
 
3
/* Skeleton interface for Bison's Yacc-like parsers in C
3
/* Bison interface for Yacc-like parsers in C
4
 
-
 
5
   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
4
 
6
   Free Software Foundation, Inc.
5
   Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
7
 
6
 
8
   This program is free software; you can redistribute it and/or modify
7
   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
8
   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)
9
   the Free Software Foundation, either version 3 of the License, or
11
   any later version.
10
   (at your option) any later version.
12
 
11
 
13
   This program is distributed in the hope that it will be useful,
12
   This program is distributed in the hope that it will be useful,
14
   but WITHOUT ANY WARRANTY; without even the implied warranty of
13
   but WITHOUT ANY WARRANTY; without even the implied warranty of
15
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
   GNU General Public License for more details.
15
   GNU General Public License for more details.
17
 
16
 
18
   You should have received a copy of the GNU General Public License
17
   You should have received a copy of the GNU General Public License
19
   along with this program; if not, write to the Free Software
18
   along with this program.  If not, see .  */
20
   Foundation, Inc., 51 Franklin Street, Fifth Floor,
-
 
21
   Boston, MA 02110-1301, USA.  */
-
 
22
 
19
 
23
/* As a special exception, you may create a larger work that contains
20
/* 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
21
   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
22
   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
23
   parser generator using the skeleton or a modified version thereof
27
   as a parser skeleton.  Alternatively, if you modify or redistribute
24
   as a parser skeleton.  Alternatively, if you modify or redistribute
28
   the parser skeleton itself, you may (at your option) remove this
25
   the parser skeleton itself, you may (at your option) remove this
29
   special exception, which will cause the skeleton and the resulting
26
   special exception, which will cause the skeleton and the resulting
30
   Bison output files to be licensed under the GNU General Public
27
   Bison output files to be licensed under the GNU General Public
31
   License without this special exception.
28
   License without this special exception.
32
 
29
 
33
   This special exception was added by the Free Software Foundation in
30
   This special exception was added by the Free Software Foundation in
34
   version 2.2 of Bison.  */
31
   version 2.2 of Bison.  */
-
 
32
 
-
 
33
#ifndef YY_YY_ARPARSE_H_INCLUDED
-
 
34
# define YY_YY_ARPARSE_H_INCLUDED
-
 
35
/* Debug traces.  */
-
 
36
#ifndef YYDEBUG
-
 
37
# define YYDEBUG 0
-
 
38
#endif
-
 
39
#if YYDEBUG
-
 
40
extern int yydebug;
-
 
41
#endif
35
 
42
 
36
/* Tokens.  */
43
/* Token type.  */
37
#ifndef YYTOKENTYPE
44
#ifndef YYTOKENTYPE
38
# define YYTOKENTYPE
-
 
39
   /* Put the tokens into the symbol table, so that GDB and other debuggers
-
 
40
      know about them.  */
45
# define YYTOKENTYPE
-
 
46
  enum yytokentype
41
   enum yytokentype {
47
  {
42
     NEWLINE = 258,
48
     NEWLINE = 258,
43
     VERBOSE = 259,
49
     VERBOSE = 259,
44
     FILENAME = 260,
50
     FILENAME = 260,
45
     ADDLIB = 261,
51
     ADDLIB = 261,
46
     LIST = 262,
52
     LIST = 262,
47
     ADDMOD = 263,
53
     ADDMOD = 263,
48
     CLEAR = 264,
54
     CLEAR = 264,
49
     CREATE = 265,
55
     CREATE = 265,
50
     DELETE = 266,
56
     DELETE = 266,
51
     DIRECTORY = 267,
57
     DIRECTORY = 267,
52
     END = 268,
58
     END = 268,
53
     EXTRACT = 269,
59
     EXTRACT = 269,
54
     FULLDIR = 270,
60
     FULLDIR = 270,
55
     HELP = 271,
61
     HELP = 271,
56
     QUIT = 272,
62
     QUIT = 272,
57
     REPLACE = 273,
63
     REPLACE = 273,
58
     SAVE = 274,
64
     SAVE = 274,
59
     OPEN = 275
65
     OPEN = 275
60
   };
66
   };
61
#endif
67
#endif
62
/* Tokens.  */
68
/* Tokens.  */
63
#define NEWLINE 258
69
#define NEWLINE 258
64
#define VERBOSE 259
70
#define VERBOSE 259
65
#define FILENAME 260
71
#define FILENAME 260
66
#define ADDLIB 261
72
#define ADDLIB 261
67
#define LIST 262
73
#define LIST 262
68
#define ADDMOD 263
74
#define ADDMOD 263
69
#define CLEAR 264
75
#define CLEAR 264
70
#define CREATE 265
76
#define CREATE 265
71
#define DELETE 266
77
#define DELETE 266
72
#define DIRECTORY 267
78
#define DIRECTORY 267
73
#define END 268
79
#define END 268
74
#define EXTRACT 269
80
#define EXTRACT 269
75
#define FULLDIR 270
81
#define FULLDIR 270
76
#define HELP 271
82
#define HELP 271
77
#define QUIT 272
83
#define QUIT 272
78
#define REPLACE 273
84
#define REPLACE 273
79
#define SAVE 274
85
#define SAVE 274
80
#define OPEN 275
86
#define OPEN 275
81
 
-
 
82
 
-
 
83
 
-
 
-
 
87
 
84
 
88
/* Value type.  */
85
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
89
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
86
typedef union YYSTYPE
90
typedef union YYSTYPE YYSTYPE;
87
#line 38 "arparse.y"
91
union YYSTYPE
-
 
92
{
-
 
93
#line 37 "arparse.y" /* yacc.c:1915  */
88
{
94
 
89
  char *name;
95
  char *name;
90
struct list *list ;
96
struct list *list ;
91
 
97
 
92
}
-
 
93
/* Line 1529 of yacc.c.  */
98
 
94
#line 95 "arparse.h"
99
#line 100 "arparse.h" /* yacc.c:1915  */
95
	YYSTYPE;
-
 
96
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
-
 
97
# define YYSTYPE_IS_DECLARED 1
100
};
-
 
101
# define YYSTYPE_IS_TRIVIAL 1
98
# define YYSTYPE_IS_TRIVIAL 1
102
# define YYSTYPE_IS_DECLARED 1
-
 
103
#endif
99
#endif
104
 
-
 
105
 
-
 
106
extern YYSTYPE yylval;
-
 
107
 
100
 
108
int yyparse (void);
101
extern YYSTYPE yylval;
109
 
-
 
110
#endif /* !YY_YY_ARPARSE_H_INCLUDED  */