Changeset 1037 for XIOS/dev/branch_yushan/src/parse_expr/yacc_parser.hpp
- Timestamp:
- 01/25/17 16:25:17 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_yushan/src/parse_expr/yacc_parser.hpp
r1019 r1037 1 /* A Bison parser, made by GNU Bison 2.7. */1 /* A Bison parser, made by GNU Bison 3.0.2. */ 2 2 3 3 /* Bison interface for Yacc-like parsers in C 4 5 Copyright (C) 1984, 1989-1990, 2000-2012Free Software Foundation, Inc.6 4 5 Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc. 6 7 7 This program is free software: you can redistribute it and/or modify 8 8 it under the terms of the GNU General Public License as published by 9 9 the Free Software Foundation, either version 3 of the License, or 10 10 (at your option) any later version. 11 11 12 12 This program is distributed in the hope that it will be useful, 13 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 15 GNU General Public License for more details. 16 16 17 17 You should have received a copy of the GNU General Public License 18 18 along with this program. If not, see <http://www.gnu.org/licenses/>. */ … … 27 27 Bison output files to be licensed under the GNU General Public 28 28 License without this special exception. 29 29 30 30 This special exception was added by the Free Software Foundation in 31 31 version 2.2 of Bison. */ … … 33 33 #ifndef YY_YY_YACC_PARSER_HPP_INCLUDED 34 34 # define YY_YY_YACC_PARSER_HPP_INCLUDED 35 /* Enabling traces. */35 /* Debug traces. */ 36 36 #ifndef YYDEBUG 37 37 # define YYDEBUG 0 … … 41 41 #endif 42 42 43 /* Token s. */43 /* Token type. */ 44 44 #ifndef YYTOKENTYPE 45 45 # define YYTOKENTYPE 46 /* Put the tokens into the symbol table, so that GDB and other debuggers 47 know about them. */ 48 enum yytokentype { 49 NUMBER = 258, 50 VAR = 259, 51 ID = 260, 52 AVERAGE = 261, 53 PLUS = 262, 54 MINUS = 263, 55 TIMES = 264, 56 DIVIDE = 265, 57 POWER = 266, 58 EQ = 267, 59 LT = 268, 60 GT = 269, 61 LE = 270, 62 GE = 271, 63 NE = 272, 64 LEFT_PARENTHESIS = 273, 65 RIGHT_PARENTHESIS = 274, 66 END = 275, 67 NEG = 276 68 }; 46 enum yytokentype 47 { 48 NUMBER = 258, 49 VAR = 259, 50 ID = 260, 51 AVERAGE = 261, 52 PLUS = 262, 53 MINUS = 263, 54 TIMES = 264, 55 DIVIDE = 265, 56 POWER = 266, 57 EQ = 267, 58 LT = 268, 59 GT = 269, 60 LE = 270, 61 GE = 271, 62 LEFT_PARENTHESIS = 272, 63 RIGHT_PARENTHESIS = 273, 64 END = 274, 65 NEG = 275 66 }; 69 67 #endif 70 68 71 69 /* Value type. */ 72 70 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 73 typedef union YYSTYPE 71 typedef union YYSTYPE YYSTYPE; 72 union YYSTYPE 74 73 { 75 /* Line 2058 of yacc.c */ 76 #line 35 "yacc_parser.yacc" 74 #line 35 "yacc_parser.yacc" /* yacc.c:1909 */ 77 75 78 76 std::string* str; /* symbol table index */ … … 80 78 xios::IFilterExprNode* filterNode; 81 79 82 83 /* Line 2058 of yacc.c */ 84 #line 85 "yacc_parser.hpp" 85 } YYSTYPE; 80 #line 81 "yacc_parser.hpp" /* yacc.c:1909 */ 81 }; 86 82 # define YYSTYPE_IS_TRIVIAL 1 87 # define yystype YYSTYPE /* obsolescent; will be withdrawn */88 83 # define YYSTYPE_IS_DECLARED 1 89 84 #endif 90 85 86 91 87 extern YYSTYPE yylval; 92 88 93 #ifdef YYPARSE_PARAM94 #if defined __STDC__ || defined __cplusplus95 int yyparse (void *YYPARSE_PARAM);96 #else97 int yyparse ();98 #endif99 #else /* ! YYPARSE_PARAM */100 #if defined __STDC__ || defined __cplusplus101 89 int yyparse (void); 102 #else103 int yyparse ();104 #endif105 #endif /* ! YYPARSE_PARAM */106 90 107 91 #endif /* !YY_YY_YACC_PARSER_HPP_INCLUDED */
Note: See TracChangeset
for help on using the changeset viewer.