Rev 5219 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5219 | Rev 6324 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | /* A Bison parser, made by GNU Bison 2.3. */ |
1 | /* A Bison parser, made by GNU Bison 3.0. */ |
Line 2... | Line 2... | ||
2 | 2 | ||
Line 3... | Line 3... | ||
3 | /* Skeleton interface for Bison's Yacc-like parsers in C |
3 | /* Bison interface for Yacc-like parsers in C |
4 | - | ||
Line 5... | Line 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 |
Line 9... | Line 8... | ||
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 | ||
Line 13... | Line 12... | ||
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 |
- | |
16 | GNU General Public License for more details. |
- | |
Line 17... | Line 14... | ||
17 | 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
18 | You should have received a copy of the GNU General Public License |
15 | GNU General Public License for more details. |
19 | along with this program; if not, write to the Free Software |
16 | |
20 | Foundation, Inc., 51 Franklin Street, Fifth Floor, |
17 | You should have received a copy of the GNU General Public License |
Line 31... | Line 28... | ||
31 | License without this special exception. |
28 | License without this special exception. |
Line 32... | Line 29... | ||
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 |
Line -... | Line 31... | ||
- | 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; |
|
34 | version 2.2 of Bison. */ |
41 | #endif |
35 | 42 | ||
36 | /* Tokens. */ |
43 | /* Token type. */ |
37 | #ifndef YYTOKENTYPE |
- | |
38 | # define YYTOKENTYPE |
- | |
39 | /* Put the tokens into the symbol table, so that GDB and other debuggers |
44 | #ifndef YYTOKENTYPE |
- | 45 | # define YYTOKENTYPE |
|
40 | know about them. */ |
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, |
Line 77... | Line 83... | ||
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 |
Line 81... | Line -... | ||
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; |
Line 90... | Line 96... | ||
90 | struct list *list ; |
96 | struct list *list ; |
91 | - | ||
92 | } |
97 | |
93 | /* Line 1529 of yacc.c. */ |
98 | |
94 | #line 95 "arparse.h" |
- | |
95 | YYSTYPE; |
- | |
96 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
99 | #line 100 "arparse.h" /* yacc.c:1915 */ |
- | 100 | }; |
|
97 | # define YYSTYPE_IS_DECLARED 1 |
101 | # define YYSTYPE_IS_TRIVIAL 1 |
Line -... | Line 102... | ||
- | 102 | # define YYSTYPE_IS_DECLARED 1 |
|
98 | # define YYSTYPE_IS_TRIVIAL 1 |
103 | #endif |
Line -... | Line 104... | ||
- | 104 | ||
- | 105 | ||
- | 106 | extern YYSTYPE yylval; |