1 /* A Bison parser, made by GNU Bison 2.5. */ 2 3 /* Bison interface for Yacc-like parsers in C 4 5 Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc. 6 7 This program is free software; you can redistribute it and/or modify 8 it under the terms of the GNU General Public License, version 2.0, 9 as published by the Free Software Foundation. 10 11 This program is also distributed with certain software (including 12 but not limited to OpenSSL) that is licensed under separate terms, 13 as designated in a particular file or component or in included license 14 documentation. The authors of MySQL hereby grant you an additional 15 permission to link the program and your derivative works with the 16 separately licensed software that they have included with MySQL. 17 18 This program is distributed in the hope that it will be useful, 19 but WITHOUT ANY WARRANTY; without even the implied warranty of 20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 GNU General Public License, version 2.0, for more details. 22 23 You should have received a copy of the GNU General Public License 24 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 25 26 /* As a special exception, you may create a larger work that contains 27 part or all of the Bison parser skeleton and distribute that work 28 under terms of your choice, so long as that work isn't itself a 29 parser generator using the skeleton or a modified version thereof 30 as a parser skeleton. Alternatively, if you modify or redistribute 31 the parser skeleton itself, you may (at your option) remove this 32 special exception, which will cause the skeleton and the resulting 33 Bison output files to be licensed under the GNU General Public 34 License without this special exception. 35 36 This special exception was added by the Free Software Foundation in 37 version 2.2 of Bison. */ 38 39 40 /* Tokens. */ 41 #ifndef YYTOKENTYPE 42 # define YYTOKENTYPE 43 /* Put the tokens into the symbol table, so that GDB and other debuggers 44 know about them. */ 45 enum yytokentype { 46 FTS_OPER = 258, 47 FTS_TEXT = 259, 48 FTS_TERM = 260, 49 FTS_NUMB = 261 50 }; 51 #endif 52 53 54 55 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 56 typedef union YYSTYPE 57 { 58 59 /* Line 2068 of yacc.c */ 60 #line 61 "fts0pars.y" 61 62 int oper; 63 fts_ast_string_t* token; 64 fts_ast_node_t* node; 65 66 67 68 /* Line 2068 of yacc.c */ 69 #line 64 "fts0pars.hh" 70 } YYSTYPE; 71 # define YYSTYPE_IS_TRIVIAL 1 72 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 73 # define YYSTYPE_IS_DECLARED 1 74 #endif 75 76 77 78 79