1 /* A Bison parser, made by GNU Bison 3.3.2. */ 2 3 /* Bison interface for Yacc-like parsers in C 4 5 Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 Free Software Foundation, 6 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 3 of the License, or 11 (at your option) 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, see <http://www.gnu.org/licenses/>. */ 20 21 /* As a special exception, you may create a larger work that contains 22 part or all of the Bison parser skeleton and distribute that work 23 under terms of your choice, so long as that work isn't itself a 24 parser generator using the skeleton or a modified version thereof 25 as a parser skeleton. Alternatively, if you modify or redistribute 26 the parser skeleton itself, you may (at your option) remove this 27 special exception, which will cause the skeleton and the resulting 28 Bison output files to be licensed under the GNU General Public 29 License without this special exception. 30 31 This special exception was added by the Free Software Foundation in 32 version 2.2 of Bison. */ 33 34 /* Undocumented macros, especially those whose name start with YY_, 35 are private implementation details. Do not rely on them. */ 36 37 #ifndef YY_INSTRSCRIPT_Y_TAB_H_INCLUDED 38 # define YY_INSTRSCRIPT_Y_TAB_H_INCLUDED 39 /* Debug traces. */ 40 #ifndef YYDEBUG 41 # define YYDEBUG 0 42 #endif 43 #if YYDEBUG 44 extern int InstrScript_debug; 45 #endif 46 47 /* Token type. */ 48 #ifndef YYTOKENTYPE 49 # define YYTOKENTYPE 50 enum yytokentype 51 { 52 END_OF_FILE = 0, 53 INTEGER = 258, 54 REAL = 259, 55 INTEGER_UNIT = 260, 56 REAL_UNIT = 261, 57 STRING = 262, 58 IDENTIFIER = 263, 59 VARIABLE = 264, 60 ON = 265, 61 END = 266, 62 INIT = 267, 63 NOTE = 268, 64 RELEASE = 269, 65 CONTROLLER = 270, 66 RPN = 271, 67 NRPN = 272, 68 DECLARE = 273, 69 ASSIGNMENT = 274, 70 CONST_ = 275, 71 POLYPHONIC = 276, 72 PATCH = 277, 73 WHILE = 278, 74 SYNCHRONIZED = 279, 75 IF = 280, 76 ELSE = 281, 77 SELECT = 282, 78 CASE = 283, 79 TO = 284, 80 OR = 285, 81 AND = 286, 82 NOT = 287, 83 BITWISE_OR = 288, 84 BITWISE_AND = 289, 85 BITWISE_NOT = 290, 86 FUNCTION = 291, 87 CALL = 292, 88 MOD = 293, 89 LE = 294, 90 GE = 295, 91 UNKNOWN_CHAR = 296 92 }; 93 #endif 94 /* Tokens. */ 95 #define END_OF_FILE 0 96 #define INTEGER 258 97 #define REAL 259 98 #define INTEGER_UNIT 260 99 #define REAL_UNIT 261 100 #define STRING 262 101 #define IDENTIFIER 263 102 #define VARIABLE 264 103 #define ON 265 104 #define END 266 105 #define INIT 267 106 #define NOTE 268 107 #define RELEASE 269 108 #define CONTROLLER 270 109 #define RPN 271 110 #define NRPN 272 111 #define DECLARE 273 112 #define ASSIGNMENT 274 113 #define CONST_ 275 114 #define POLYPHONIC 276 115 #define PATCH 277 116 #define WHILE 278 117 #define SYNCHRONIZED 279 118 #define IF 280 119 #define ELSE 281 120 #define SELECT 282 121 #define CASE 283 122 #define TO 284 123 #define OR 285 124 #define AND 286 125 #define NOT 287 126 #define BITWISE_OR 288 127 #define BITWISE_AND 289 128 #define BITWISE_NOT 290 129 #define FUNCTION 291 130 #define CALL 292 131 #define MOD 293 132 #define LE 294 133 #define GE 295 134 #define UNKNOWN_CHAR 296 135 136 /* Value type. */ 137 138 /* Location type. */ 139 #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED 140 typedef struct YYLTYPE YYLTYPE; 141 struct YYLTYPE 142 { 143 int first_line; 144 int first_column; 145 int last_line; 146 int last_column; 147 }; 148 # define YYLTYPE_IS_DECLARED 1 149 # define YYLTYPE_IS_TRIVIAL 1 150 #endif 151 152 153 154 int InstrScript_parse (LinuxSampler::ParserContext* context); 155 156 #endif /* !YY_INSTRSCRIPT_Y_TAB_H_INCLUDED */ 157