=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2018/parse/ytab.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- OpenXM_contrib2/asir2018/parse/ytab.h 2018/09/19 05:45:08 1.1 +++ OpenXM_contrib2/asir2018/parse/ytab.h 2019/03/29 05:08:36 1.2 @@ -1,21 +1,20 @@ +/* A Bison parser, made by GNU Bison 3.3.2. */ -/* A Bison parser, made by GNU Bison 2.4.1. */ +/* Bison interface for Yacc-like parsers in C -/* Skeleton interface for Bison's Yacc-like parsers in C - - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 - Free Software Foundation, Inc. - + Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 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 3 of the License, 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, see . */ @@ -28,68 +27,79 @@ special exception, which will cause the skeleton and the resulting Bison output files to be licensed under the GNU General Public License without this special exception. - + This special exception was added by the Free Software Foundation in version 2.2 of Bison. */ +/* Undocumented macros, especially those whose name start with YY_, + are private implementation details. Do not rely on them. */ -/* Tokens. */ +#ifndef YY_YY_Y_TAB_H_INCLUDED +# define YY_YY_Y_TAB_H_INCLUDED +/* Debug traces. */ +#ifndef YYDEBUG +# define YYDEBUG 0 +#endif +#if YYDEBUG +extern int yydebug; +#endif + +/* Token type. */ #ifndef YYTOKENTYPE # define YYTOKENTYPE - /* Put the tokens into the symbol table, so that GDB and other debuggers - know about them. */ - enum yytokentype { - STRUCT = 258, - POINT = 259, - NEWSTRUCT = 260, - ANS = 261, - FDEF = 262, - PFDEF = 263, - MODDEF = 264, - MODEND = 265, - GLOBAL = 266, - MGLOBAL = 267, - LOCAL = 268, - LOCALF = 269, - CMP = 270, - OR = 271, - AND = 272, - CAR = 273, - CDR = 274, - QUOTED = 275, - COLONCOLON = 276, - DO = 277, - WHILE = 278, - FOR = 279, - IF = 280, - ELSE = 281, - BREAK = 282, - RETURN = 283, - CONTINUE = 284, - PARIF = 285, - MAP = 286, - RECMAP = 287, - TIMER = 288, - GF2NGEN = 289, - GFPNGEN = 290, - GFSNGEN = 291, - GETOPT = 292, - FOP_AND = 293, - FOP_OR = 294, - FOP_IMPL = 295, - FOP_REPL = 296, - FOP_EQUIV = 297, - FOP_NOT = 298, - LOP = 299, - FORMULA = 300, - UCASE = 301, - LCASE = 302, - STR = 303, - SELF = 304, - BOPASS = 305, - PLUS = 306, - MINUS = 307 - }; + enum yytokentype + { + STRUCT = 258, + POINT = 259, + NEWSTRUCT = 260, + ANS = 261, + FDEF = 262, + PFDEF = 263, + MODDEF = 264, + MODEND = 265, + GLOBAL = 266, + MGLOBAL = 267, + LOCAL = 268, + LOCALF = 269, + CMP = 270, + OR = 271, + AND = 272, + CAR = 273, + CDR = 274, + QUOTED = 275, + COLONCOLON = 276, + DO = 277, + WHILE = 278, + FOR = 279, + IF = 280, + ELSE = 281, + BREAK = 282, + RETURN = 283, + CONTINUE = 284, + PARIF = 285, + MAP = 286, + RECMAP = 287, + TIMER = 288, + GF2NGEN = 289, + GFPNGEN = 290, + GFSNGEN = 291, + GETOPT = 292, + FOP_AND = 293, + FOP_OR = 294, + FOP_IMPL = 295, + FOP_REPL = 296, + FOP_EQUIV = 297, + FOP_NOT = 298, + LOP = 299, + FORMULA = 300, + UCASE = 301, + LCASE = 302, + STR = 303, + SELF = 304, + BOPASS = 305, + PLUS = 306, + MINUS = 307 + }; #endif /* Tokens. */ #define STRUCT 258 @@ -143,33 +153,31 @@ #define PLUS 306 #define MINUS 307 - - - +/* Value type. */ #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED -typedef union YYSTYPE + +union YYSTYPE { +#line 83 "parse.y" /* yacc.c:1921 */ -/* Line 1676 of yacc.c */ -#line 83 "parse.y" + FNODE f; + SNODE s; + NODE n; + NODE2 n2; + int i; + pointer p; - FNODE f; - SNODE s; - NODE n; - NODE2 n2; - int i; - pointer p; +#line 171 "y.tab.h" /* yacc.c:1921 */ +}; - - -/* Line 1676 of yacc.c */ -#line 167 "y.tab.h" -} YYSTYPE; +typedef union YYSTYPE YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 -# define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 #endif + extern YYSTYPE yylval; +int yyparse (void); +#endif /* !YY_YY_Y_TAB_H_INCLUDED */