X-Git-Url: https://git.distorted.org.uk/~mdw/mup/blobdiff_plain/cdb3c0882392596f814cf939cbfbd38adc6f2bfe..ddf6330b56bcfb657e0186b24b9b1422c51d3424:/mup/mup/ytab.h diff --git a/mup/mup/ytab.h b/mup/mup/ytab.h new file mode 100644 index 0000000..ce5234a --- /dev/null +++ b/mup/mup/ytab.h @@ -0,0 +1,363 @@ +/* A Bison parser, made from gram.y, by GNU bison 1.75. */ + +/* Skeleton parser for Yacc-like parsing with Bison, + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +/* As a special exception, when this file is copied by Bison into a + Bison output file, you may use that output file without restriction. + This special exception was added by the Free Software Foundation + in version 1.24 of Bison. */ + +#ifndef BISON_Y_TAB_H +# define BISON_Y_TAB_H + +/* Tokens. */ +#ifndef YYTOKENTYPE +# define YYTOKENTYPE + /* Put the tokens into the symbol table, so that GDB and other debuggers + know about them. */ + enum yytokentype { + T_SCORE = 258, + T_STAFF = 259, + T_VOICE = 260, + T_GRIDS = 261, + T_BLOCKHEAD = 262, + T_NUMBER = 263, + T_EQUAL = 264, + T_SEMICOLON = 265, + T_NEWLINE = 266, + T_COLON = 267, + T_COMMA = 268, + T_LBRACKET = 269, + T_RBRACKET = 270, + T_LBRACE = 271, + T_RBRACE = 272, + T_VARIABLE = 273, + T_DASH = 274, + T_PLUS = 275, + T_PLACE = 276, + T_ALL = 277, + T_WITH = 278, + T_CUE = 279, + T_GRACE = 280, + T_XNOTE = 281, + T_DIAM = 282, + T_DOT = 283, + T_MULTIWHOLE = 284, + T_LET_M = 285, + T_LET_R = 286, + T_LET_S = 287, + T_LET_U = 288, + T_PITCH = 289, + T_SHARP = 290, + T_AMPERSAND = 291, + T_LET_N = 292, + T_LET_X = 293, + T_DBLFLAT = 294, + T_LETTER = 295, + T_LYRICS = 296, + T_PAD = 297, + T_LPAREN = 298, + T_RPAREN = 299, + T_LVAR = 300, + T_MUSIC = 301, + T_HEADSHAPES = 302, + T_HS = 303, + T_SWINGUNIT = 304, + T_POSTSCRIPT = 305, + T_SCOREFEED = 306, + T_BARTYPE = 307, + T_HAT = 308, + T_TILDE = 309, + T_QUESTION = 310, + T_LINETYPE = 311, + T_LINE = 312, + T_TO = 313, + T_STAR = 314, + T_BULGE = 315, + T_CURVE = 316, + T_TIE = 317, + T_PRINTTYPE = 318, + T_NL = 319, + T_STAFFLINES = 320, + T_FFAMILY = 321, + T_PARAGRAPH = 322, + T_PARATYPE = 323, + T_NUMVAR = 324, + T_FNUMVAR = 325, + T_2FNUMVAR = 326, + T_RATNUMLISTVAR = 327, + T_RANGELISTVAR = 328, + T_TIMEUNIT = 329, + T_FONTVAR = 330, + T_STRVAR = 331, + T_CLEFVAR = 332, + T_VVAR = 333, + T_BARSTLISTVAR = 334, + T_SCORESEP = 335, + T_FONT = 336, + T_SLASH = 337, + T_KEY = 338, + T_TIME = 339, + T_CUT = 340, + T_COMMON = 341, + T_CLEF = 342, + T_MULTIREST = 343, + T_YESNOVAR = 344, + T_BM = 345, + T_ESBM = 346, + T_EBM = 347, + T_INVISBAR = 348, + T_OCTAVE = 349, + T_ROLL = 350, + T_VISVAR = 351, + T_WHEREUSED = 352, + T_UNSET = 353, + T_VCOMBINE = 354, + T_VCOMBVAL = 355, + T_SCOREPAD = 356, + T_WORD = 357, + T_UP = 358, + T_DOWN = 359, + T_ENDING = 360, + T_ENDENDING = 361, + T_FAMILY = 362, + T_ENDSTYLE = 363, + T_ENDTYPE = 364, + T_SLASHMARK = 365, + T_ALT = 366, + T_TITLE = 367, + T_REHEARSAL = 368, + T_NUM = 369, + T_LET = 370, + T_MNUM = 371, + T_TRANSPOSE = 372, + T_XPOS_INT = 373, + T_PEDAL = 374, + T_PHRASE = 375, + T_MUSSYM = 376, + T_L_ANGLE = 377, + T_MODIFIER = 378, + T_R_ANGLE = 379, + T_TIL = 380, + T_MIDI = 381, + T_PEDSTYLE = 382, + T_PEDSTAR = 383, + T_HIDECHANGES = 384, + T_SLUR = 385, + T_UNITS = 386, + T_CENTIMETERS = 387, + T_UNITTYPE = 388, + T_TAB = 389, + T_TICKS = 390, + T_NOWHERE_SLIDE = 391, + T_LEN = 392, + T_EXCLAM = 393, + T_OTHERTEXT = 394, + T_ORDER = 395, + T_GRIDPLACE = 396, + T_GRPLVALUE = 397, + T_DRUM = 398, + T_RPT = 399, + T_STRING = 400, + T_HO = 401, + T_REH_STYLE = 402, + T_REHTYPE = 403, + T_L_DBLANGLE = 404, + T_R_DBLANGLE = 405, + T_SLOPE = 406, + T_PSVAR = 407, + T_PAGESIZE = 408, + T_ORIENTATION = 409 + }; +#endif +#define T_SCORE 258 +#define T_STAFF 259 +#define T_VOICE 260 +#define T_GRIDS 261 +#define T_BLOCKHEAD 262 +#define T_NUMBER 263 +#define T_EQUAL 264 +#define T_SEMICOLON 265 +#define T_NEWLINE 266 +#define T_COLON 267 +#define T_COMMA 268 +#define T_LBRACKET 269 +#define T_RBRACKET 270 +#define T_LBRACE 271 +#define T_RBRACE 272 +#define T_VARIABLE 273 +#define T_DASH 274 +#define T_PLUS 275 +#define T_PLACE 276 +#define T_ALL 277 +#define T_WITH 278 +#define T_CUE 279 +#define T_GRACE 280 +#define T_XNOTE 281 +#define T_DIAM 282 +#define T_DOT 283 +#define T_MULTIWHOLE 284 +#define T_LET_M 285 +#define T_LET_R 286 +#define T_LET_S 287 +#define T_LET_U 288 +#define T_PITCH 289 +#define T_SHARP 290 +#define T_AMPERSAND 291 +#define T_LET_N 292 +#define T_LET_X 293 +#define T_DBLFLAT 294 +#define T_LETTER 295 +#define T_LYRICS 296 +#define T_PAD 297 +#define T_LPAREN 298 +#define T_RPAREN 299 +#define T_LVAR 300 +#define T_MUSIC 301 +#define T_HEADSHAPES 302 +#define T_HS 303 +#define T_SWINGUNIT 304 +#define T_POSTSCRIPT 305 +#define T_SCOREFEED 306 +#define T_BARTYPE 307 +#define T_HAT 308 +#define T_TILDE 309 +#define T_QUESTION 310 +#define T_LINETYPE 311 +#define T_LINE 312 +#define T_TO 313 +#define T_STAR 314 +#define T_BULGE 315 +#define T_CURVE 316 +#define T_TIE 317 +#define T_PRINTTYPE 318 +#define T_NL 319 +#define T_STAFFLINES 320 +#define T_FFAMILY 321 +#define T_PARAGRAPH 322 +#define T_PARATYPE 323 +#define T_NUMVAR 324 +#define T_FNUMVAR 325 +#define T_2FNUMVAR 326 +#define T_RATNUMLISTVAR 327 +#define T_RANGELISTVAR 328 +#define T_TIMEUNIT 329 +#define T_FONTVAR 330 +#define T_STRVAR 331 +#define T_CLEFVAR 332 +#define T_VVAR 333 +#define T_BARSTLISTVAR 334 +#define T_SCORESEP 335 +#define T_FONT 336 +#define T_SLASH 337 +#define T_KEY 338 +#define T_TIME 339 +#define T_CUT 340 +#define T_COMMON 341 +#define T_CLEF 342 +#define T_MULTIREST 343 +#define T_YESNOVAR 344 +#define T_BM 345 +#define T_ESBM 346 +#define T_EBM 347 +#define T_INVISBAR 348 +#define T_OCTAVE 349 +#define T_ROLL 350 +#define T_VISVAR 351 +#define T_WHEREUSED 352 +#define T_UNSET 353 +#define T_VCOMBINE 354 +#define T_VCOMBVAL 355 +#define T_SCOREPAD 356 +#define T_WORD 357 +#define T_UP 358 +#define T_DOWN 359 +#define T_ENDING 360 +#define T_ENDENDING 361 +#define T_FAMILY 362 +#define T_ENDSTYLE 363 +#define T_ENDTYPE 364 +#define T_SLASHMARK 365 +#define T_ALT 366 +#define T_TITLE 367 +#define T_REHEARSAL 368 +#define T_NUM 369 +#define T_LET 370 +#define T_MNUM 371 +#define T_TRANSPOSE 372 +#define T_XPOS_INT 373 +#define T_PEDAL 374 +#define T_PHRASE 375 +#define T_MUSSYM 376 +#define T_L_ANGLE 377 +#define T_MODIFIER 378 +#define T_R_ANGLE 379 +#define T_TIL 380 +#define T_MIDI 381 +#define T_PEDSTYLE 382 +#define T_PEDSTAR 383 +#define T_HIDECHANGES 384 +#define T_SLUR 385 +#define T_UNITS 386 +#define T_CENTIMETERS 387 +#define T_UNITTYPE 388 +#define T_TAB 389 +#define T_TICKS 390 +#define T_NOWHERE_SLIDE 391 +#define T_LEN 392 +#define T_EXCLAM 393 +#define T_OTHERTEXT 394 +#define T_ORDER 395 +#define T_GRIDPLACE 396 +#define T_GRPLVALUE 397 +#define T_DRUM 398 +#define T_RPT 399 +#define T_STRING 400 +#define T_HO 401 +#define T_REH_STYLE 402 +#define T_REHTYPE 403 +#define T_L_DBLANGLE 404 +#define T_R_DBLANGLE 405 +#define T_SLOPE 406 +#define T_PSVAR 407 +#define T_PAGESIZE 408 +#define T_ORIENTATION 409 + + + + +#ifndef YYSTYPE +#line 152 "gram.y" +typedef union { +int intval; /* for tokens/nonterminals that return int values */ +char *stringval; /* for tokens/nonterminals that return strings */ +float floatval; /* for nonterminals that return floats */ +RATIONAL ratval; /* for nonterminals that return rational numbers */ +struct INPCOORD *inpcoord_p; /* for nonterminals that return coord info */ +} yystype; +/* Line 1281 of /usr/share/bison/yacc.c. */ +#line 356 "y.tab.h" +# define YYSTYPE yystype +#endif + +extern YYSTYPE yylval; + + +#endif /* not BISON_Y_TAB_H */ +