1 /* A Bison parser, made by GNU Bison 2.3. */
3 /* Skeleton interface for Bison's Yacc-like parsers in C
5 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6 Free Software Foundation, Inc.
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)
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.
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. */
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.
33 This special exception was added by the Free Software Foundation in
34 version 2.2 of Bison. */
39 /* Put the tokens into the symbol table, so that GDB and other debuggers
48 FUNCTION_ARGLIST = 264,
49 DURATION_IDENTIFIER = 265,
52 TONICNAME_PITCH = 268,
54 PITCH_IDENTIFIER = 270,
55 NUMBER_IDENTIFIER = 271,
105 DOUBLE_ANGLE_OPEN = 321,
106 DOUBLE_ANGLE_CLOSE = 322,
112 E_BRACKET_OPEN = 328,
114 E_BRACKET_CLOSE = 330,
123 CHORDMODIFIERS = 339,
125 MULTI_MEASURE_REST = 341,
129 EXPECT_DURATION = 345,
133 EXPECT_MARKUP_LIST = 349,
134 EXPECT_OPTIONAL = 350,
135 EXPECT_NO_MORE_ARGS = 351,
137 BOOK_IDENTIFIER = 353,
138 CHORDMODIFIER_PITCH = 354,
139 CHORD_MODIFIER = 355,
140 CHORD_REPETITION = 356,
141 CONTEXT_DEF_IDENTIFIER = 357,
142 CONTEXT_MOD_IDENTIFIER = 358,
144 EVENT_IDENTIFIER = 360,
145 EVENT_FUNCTION = 361,
149 LYRIC_MARKUP_IDENTIFIER = 365,
150 MARKUP_FUNCTION = 366,
151 MARKUP_LIST_FUNCTION = 367,
152 MARKUP_IDENTIFIER = 368,
153 MARKUPLIST_IDENTIFIER = 369,
154 MUSIC_FUNCTION = 370,
155 MUSIC_IDENTIFIER = 371,
156 OUTPUT_DEF_IDENTIFIER = 372,
159 SCM_IDENTIFIER = 375,
161 SCORE_IDENTIFIER = 377,
163 STRING_IDENTIFIER = 379,
170 #define ALTERNATIVE 260
171 #define COMPOSITE 261
172 #define ADDLYRICS 262
174 #define FUNCTION_ARGLIST 264
175 #define DURATION_IDENTIFIER 265
178 #define TONICNAME_PITCH 268
179 #define NOTENAME_PITCH 269
180 #define PITCH_IDENTIFIER 270
181 #define NUMBER_IDENTIFIER 271
188 #define CHORDMODE 278
192 #define DEFAULTCHILD 282
194 #define DESCRIPTION 284
197 #define FIGUREMODE 287
202 #define LYRICMODE 292
206 #define MARKUPLIST 296
216 #define SEQUENTIAL 306
218 #define SIMULTANEOUS 308
223 #define NEWCONTEXT 313
224 #define CHORD_BASS 314
225 #define CHORD_CARET 315
226 #define CHORD_COLON 316
227 #define CHORD_MINUS 317
228 #define CHORD_SLASH 318
229 #define ANGLE_OPEN 319
230 #define ANGLE_CLOSE 320
231 #define DOUBLE_ANGLE_OPEN 321
232 #define DOUBLE_ANGLE_CLOSE 322
233 #define E_BACKSLASH 323
234 #define E_ANGLE_CLOSE 324
237 #define E_EXCLAMATION 327
238 #define E_BRACKET_OPEN 328
240 #define E_BRACKET_CLOSE 330
241 #define E_ANGLE_OPEN 331
245 #define FIGURE_CLOSE 335
246 #define FIGURE_OPEN 336
247 #define FIGURE_SPACE 337
249 #define CHORDMODIFIERS 339
250 #define LYRIC_MARKUP 340
251 #define MULTI_MEASURE_REST 341
252 #define E_UNSIGNED 342
253 #define EXPECT_MARKUP 343
254 #define EXPECT_PITCH 344
255 #define EXPECT_DURATION 345
256 #define EXPECT_SCM 346
259 #define EXPECT_MARKUP_LIST 349
260 #define EXPECT_OPTIONAL 350
261 #define EXPECT_NO_MORE_ARGS 351
262 #define EMBEDDED_LILY 352
263 #define BOOK_IDENTIFIER 353
264 #define CHORDMODIFIER_PITCH 354
265 #define CHORD_MODIFIER 355
266 #define CHORD_REPETITION 356
267 #define CONTEXT_DEF_IDENTIFIER 357
268 #define CONTEXT_MOD_IDENTIFIER 358
269 #define DRUM_PITCH 359
270 #define EVENT_IDENTIFIER 360
271 #define EVENT_FUNCTION 361
273 #define LYRICS_STRING 363
274 #define LYRIC_ELEMENT 364
275 #define LYRIC_MARKUP_IDENTIFIER 365
276 #define MARKUP_FUNCTION 366
277 #define MARKUP_LIST_FUNCTION 367
278 #define MARKUP_IDENTIFIER 368
279 #define MARKUPLIST_IDENTIFIER 369
280 #define MUSIC_FUNCTION 370
281 #define MUSIC_IDENTIFIER 371
282 #define OUTPUT_DEF_IDENTIFIER 372
284 #define SCM_FUNCTION 374
285 #define SCM_IDENTIFIER 375
286 #define SCM_TOKEN 376
287 #define SCORE_IDENTIFIER 377
289 #define STRING_IDENTIFIER 379
290 #define UNARY_MINUS 380
295 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
296 typedef union YYSTYPE
297 #line 182 "/main/src/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
300 Output_def *outputdef;
306 /* Line 1489 of yacc.c. */
307 #line 308 "out/parser-tmp.hh"
309 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
310 # define YYSTYPE_IS_DECLARED 1
311 # define YYSTYPE_IS_TRIVIAL 1
316 #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
317 typedef struct YYLTYPE
324 # define yyltype YYLTYPE /* obsolescent; will be withdrawn */
325 # define YYLTYPE_IS_DECLARED 1
326 # define YYLTYPE_IS_TRIVIAL 1