]> git.donarmstrong.com Git - lilypond.git/blob - lily/out/parser.hh
Imported Upstream version 2.16.1
[lilypond.git] / lily / out / parser.hh
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      END_OF_FILE = 0,
43      PREC_BOT = 258,
44      REPEAT = 259,
45      ALTERNATIVE = 260,
46      COMPOSITE = 261,
47      ADDLYRICS = 262,
48      DEFAULT = 263,
49      FUNCTION_ARGLIST = 264,
50      DURATION_IDENTIFIER = 265,
51      REAL = 266,
52      UNSIGNED = 267,
53      TONICNAME_PITCH = 268,
54      NOTENAME_PITCH = 269,
55      PITCH_IDENTIFIER = 270,
56      NUMBER_IDENTIFIER = 271,
57      PREC_TOP = 272,
58      ACCEPTS = 273,
59      ALIAS = 274,
60      BOOK = 275,
61      BOOKPART = 276,
62      CHANGE = 277,
63      CHORDMODE = 278,
64      CHORDS = 279,
65      CONSISTS = 280,
66      CONTEXT = 281,
67      DEFAULTCHILD = 282,
68      DENIES = 283,
69      DESCRIPTION = 284,
70      DRUMMODE = 285,
71      DRUMS = 286,
72      FIGUREMODE = 287,
73      FIGURES = 288,
74      HEADER = 289,
75      INVALID = 290,
76      LAYOUT = 291,
77      LYRICMODE = 292,
78      LYRICS = 293,
79      LYRICSTO = 294,
80      MARKUP = 295,
81      MARKUPLIST = 296,
82      MIDI = 297,
83      NAME = 298,
84      NOTEMODE = 299,
85      OVERRIDE = 300,
86      PAPER = 301,
87      REMOVE = 302,
88      REST = 303,
89      REVERT = 304,
90      SCORE = 305,
91      SEQUENTIAL = 306,
92      SET = 307,
93      SIMULTANEOUS = 308,
94      TEMPO = 309,
95      TYPE = 310,
96      UNSET = 311,
97      WITH = 312,
98      NEWCONTEXT = 313,
99      CHORD_BASS = 314,
100      CHORD_CARET = 315,
101      CHORD_COLON = 316,
102      CHORD_MINUS = 317,
103      CHORD_SLASH = 318,
104      ANGLE_OPEN = 319,
105      ANGLE_CLOSE = 320,
106      DOUBLE_ANGLE_OPEN = 321,
107      DOUBLE_ANGLE_CLOSE = 322,
108      E_BACKSLASH = 323,
109      E_ANGLE_CLOSE = 324,
110      E_CHAR = 325,
111      E_CLOSE = 326,
112      E_EXCLAMATION = 327,
113      E_BRACKET_OPEN = 328,
114      E_OPEN = 329,
115      E_BRACKET_CLOSE = 330,
116      E_ANGLE_OPEN = 331,
117      E_PLUS = 332,
118      E_TILDE = 333,
119      EXTENDER = 334,
120      FIGURE_CLOSE = 335,
121      FIGURE_OPEN = 336,
122      FIGURE_SPACE = 337,
123      HYPHEN = 338,
124      CHORDMODIFIERS = 339,
125      LYRIC_MARKUP = 340,
126      MULTI_MEASURE_REST = 341,
127      E_UNSIGNED = 342,
128      EXPECT_MARKUP = 343,
129      EXPECT_PITCH = 344,
130      EXPECT_DURATION = 345,
131      EXPECT_SCM = 346,
132      BACKUP = 347,
133      REPARSE = 348,
134      EXPECT_MARKUP_LIST = 349,
135      EXPECT_OPTIONAL = 350,
136      EXPECT_NO_MORE_ARGS = 351,
137      EMBEDDED_LILY = 352,
138      BOOK_IDENTIFIER = 353,
139      CHORDMODIFIER_PITCH = 354,
140      CHORD_MODIFIER = 355,
141      CHORD_REPETITION = 356,
142      CONTEXT_DEF_IDENTIFIER = 357,
143      CONTEXT_MOD_IDENTIFIER = 358,
144      DRUM_PITCH = 359,
145      EVENT_IDENTIFIER = 360,
146      EVENT_FUNCTION = 361,
147      FRACTION = 362,
148      LYRICS_STRING = 363,
149      LYRIC_ELEMENT = 364,
150      LYRIC_MARKUP_IDENTIFIER = 365,
151      MARKUP_FUNCTION = 366,
152      MARKUP_LIST_FUNCTION = 367,
153      MARKUP_IDENTIFIER = 368,
154      MARKUPLIST_IDENTIFIER = 369,
155      MUSIC_FUNCTION = 370,
156      MUSIC_IDENTIFIER = 371,
157      OUTPUT_DEF_IDENTIFIER = 372,
158      RESTNAME = 373,
159      SCM_FUNCTION = 374,
160      SCM_IDENTIFIER = 375,
161      SCM_TOKEN = 376,
162      SCORE_IDENTIFIER = 377,
163      STRING = 378,
164      STRING_IDENTIFIER = 379,
165      UNARY_MINUS = 380
166    };
167 #endif
168 /* Tokens.  */
169 #define END_OF_FILE 0
170 #define PREC_BOT 258
171 #define REPEAT 259
172 #define ALTERNATIVE 260
173 #define COMPOSITE 261
174 #define ADDLYRICS 262
175 #define DEFAULT 263
176 #define FUNCTION_ARGLIST 264
177 #define DURATION_IDENTIFIER 265
178 #define REAL 266
179 #define UNSIGNED 267
180 #define TONICNAME_PITCH 268
181 #define NOTENAME_PITCH 269
182 #define PITCH_IDENTIFIER 270
183 #define NUMBER_IDENTIFIER 271
184 #define PREC_TOP 272
185 #define ACCEPTS 273
186 #define ALIAS 274
187 #define BOOK 275
188 #define BOOKPART 276
189 #define CHANGE 277
190 #define CHORDMODE 278
191 #define CHORDS 279
192 #define CONSISTS 280
193 #define CONTEXT 281
194 #define DEFAULTCHILD 282
195 #define DENIES 283
196 #define DESCRIPTION 284
197 #define DRUMMODE 285
198 #define DRUMS 286
199 #define FIGUREMODE 287
200 #define FIGURES 288
201 #define HEADER 289
202 #define INVALID 290
203 #define LAYOUT 291
204 #define LYRICMODE 292
205 #define LYRICS 293
206 #define LYRICSTO 294
207 #define MARKUP 295
208 #define MARKUPLIST 296
209 #define MIDI 297
210 #define NAME 298
211 #define NOTEMODE 299
212 #define OVERRIDE 300
213 #define PAPER 301
214 #define REMOVE 302
215 #define REST 303
216 #define REVERT 304
217 #define SCORE 305
218 #define SEQUENTIAL 306
219 #define SET 307
220 #define SIMULTANEOUS 308
221 #define TEMPO 309
222 #define TYPE 310
223 #define UNSET 311
224 #define WITH 312
225 #define NEWCONTEXT 313
226 #define CHORD_BASS 314
227 #define CHORD_CARET 315
228 #define CHORD_COLON 316
229 #define CHORD_MINUS 317
230 #define CHORD_SLASH 318
231 #define ANGLE_OPEN 319
232 #define ANGLE_CLOSE 320
233 #define DOUBLE_ANGLE_OPEN 321
234 #define DOUBLE_ANGLE_CLOSE 322
235 #define E_BACKSLASH 323
236 #define E_ANGLE_CLOSE 324
237 #define E_CHAR 325
238 #define E_CLOSE 326
239 #define E_EXCLAMATION 327
240 #define E_BRACKET_OPEN 328
241 #define E_OPEN 329
242 #define E_BRACKET_CLOSE 330
243 #define E_ANGLE_OPEN 331
244 #define E_PLUS 332
245 #define E_TILDE 333
246 #define EXTENDER 334
247 #define FIGURE_CLOSE 335
248 #define FIGURE_OPEN 336
249 #define FIGURE_SPACE 337
250 #define HYPHEN 338
251 #define CHORDMODIFIERS 339
252 #define LYRIC_MARKUP 340
253 #define MULTI_MEASURE_REST 341
254 #define E_UNSIGNED 342
255 #define EXPECT_MARKUP 343
256 #define EXPECT_PITCH 344
257 #define EXPECT_DURATION 345
258 #define EXPECT_SCM 346
259 #define BACKUP 347
260 #define REPARSE 348
261 #define EXPECT_MARKUP_LIST 349
262 #define EXPECT_OPTIONAL 350
263 #define EXPECT_NO_MORE_ARGS 351
264 #define EMBEDDED_LILY 352
265 #define BOOK_IDENTIFIER 353
266 #define CHORDMODIFIER_PITCH 354
267 #define CHORD_MODIFIER 355
268 #define CHORD_REPETITION 356
269 #define CONTEXT_DEF_IDENTIFIER 357
270 #define CONTEXT_MOD_IDENTIFIER 358
271 #define DRUM_PITCH 359
272 #define EVENT_IDENTIFIER 360
273 #define EVENT_FUNCTION 361
274 #define FRACTION 362
275 #define LYRICS_STRING 363
276 #define LYRIC_ELEMENT 364
277 #define LYRIC_MARKUP_IDENTIFIER 365
278 #define MARKUP_FUNCTION 366
279 #define MARKUP_LIST_FUNCTION 367
280 #define MARKUP_IDENTIFIER 368
281 #define MARKUPLIST_IDENTIFIER 369
282 #define MUSIC_FUNCTION 370
283 #define MUSIC_IDENTIFIER 371
284 #define OUTPUT_DEF_IDENTIFIER 372
285 #define RESTNAME 373
286 #define SCM_FUNCTION 374
287 #define SCM_IDENTIFIER 375
288 #define SCM_TOKEN 376
289 #define SCORE_IDENTIFIER 377
290 #define STRING 378
291 #define STRING_IDENTIFIER 379
292 #define UNARY_MINUS 380
293
294
295
296
297 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
298 typedef union YYSTYPE
299 #line 182 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
300 {
301         Book *book;
302         Output_def *outputdef;
303         SCM scm;
304         std::string *string;
305         Score *score;
306         int i;
307 }
308 /* Line 1489 of yacc.c.  */
309 #line 310 "out/parser-tmp.hh"
310         YYSTYPE;
311 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
312 # define YYSTYPE_IS_DECLARED 1
313 # define YYSTYPE_IS_TRIVIAL 1
314 #endif
315
316
317
318 #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
319 typedef struct YYLTYPE
320 {
321   int first_line;
322   int first_column;
323   int last_line;
324   int last_column;
325 } YYLTYPE;
326 # define yyltype YYLTYPE /* obsolescent; will be withdrawn */
327 # define YYLTYPE_IS_DECLARED 1
328 # define YYLTYPE_IS_TRIVIAL 1
329 #endif
330
331