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