Ignore:
Timestamp:
01/25/17 16:25:17 (7 years ago)
Author:
yushan
Message:

initialize the branch

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.  */ 
    22 
    33/* Bison interface for Yacc-like parsers in C 
    4     
    5       Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc. 
    6     
     4 
     5   Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc. 
     6 
    77   This program is free software: you can redistribute it and/or modify 
    88   it under the terms of the GNU General Public License as published by 
    99   the Free Software Foundation, either version 3 of the License, or 
    1010   (at your option) any later version. 
    11     
     11 
    1212   This program is distributed in the hope that it will be useful, 
    1313   but WITHOUT ANY WARRANTY; without even the implied warranty of 
    1414   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    1515   GNU General Public License for more details. 
    16     
     16 
    1717   You should have received a copy of the GNU General Public License 
    1818   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */ 
     
    2727   Bison output files to be licensed under the GNU General Public 
    2828   License without this special exception. 
    29     
     29 
    3030   This special exception was added by the Free Software Foundation in 
    3131   version 2.2 of Bison.  */ 
     
    3333#ifndef YY_YY_YACC_PARSER_HPP_INCLUDED 
    3434# define YY_YY_YACC_PARSER_HPP_INCLUDED 
    35 /* Enabling traces.  */ 
     35/* Debug traces.  */ 
    3636#ifndef YYDEBUG 
    3737# define YYDEBUG 0 
     
    4141#endif 
    4242 
    43 /* Tokens.  */ 
     43/* Token type.  */ 
    4444#ifndef YYTOKENTYPE 
    4545# 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  }; 
    6967#endif 
    7068 
    71  
     69/* Value type.  */ 
    7270#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 
    73 typedef union YYSTYPE 
     71typedef union YYSTYPE YYSTYPE; 
     72union YYSTYPE 
    7473{ 
    75 /* Line 2058 of yacc.c  */ 
    76 #line 35 "yacc_parser.yacc" 
     74#line 35 "yacc_parser.yacc" /* yacc.c:1909  */ 
    7775 
    7876  std::string* str;                /* symbol table index */ 
     
    8078  xios::IFilterExprNode* filterNode; 
    8179 
    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}; 
    8682# define YYSTYPE_IS_TRIVIAL 1 
    87 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 
    8883# define YYSTYPE_IS_DECLARED 1 
    8984#endif 
    9085 
     86 
    9187extern YYSTYPE yylval; 
    9288 
    93 #ifdef YYPARSE_PARAM 
    94 #if defined __STDC__ || defined __cplusplus 
    95 int yyparse (void *YYPARSE_PARAM); 
    96 #else 
    97 int yyparse (); 
    98 #endif 
    99 #else /* ! YYPARSE_PARAM */ 
    100 #if defined __STDC__ || defined __cplusplus 
    10189int yyparse (void); 
    102 #else 
    103 int yyparse (); 
    104 #endif 
    105 #endif /* ! YYPARSE_PARAM */ 
    10690 
    10791#endif /* !YY_YY_YACC_PARSER_HPP_INCLUDED  */ 
Note: See TracChangeset for help on using the changeset viewer.