Path: blob/master/Source/LexerParser/cmFortranParserTokens.h
4998 views
/* A Bison parser, made by GNU Bison 3.8.2. */12/* Bison interface for Yacc-like parsers in C34Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation,5Inc.67This program is free software: you can redistribute it and/or modify8it under the terms of the GNU General Public License as published by9the Free Software Foundation, either version 3 of the License, or10(at your option) any later version.1112This program is distributed in the hope that it will be useful,13but WITHOUT ANY WARRANTY; without even the implied warranty of14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the15GNU General Public License for more details.1617You should have received a copy of the GNU General Public License18along with this program. If not, see <https://www.gnu.org/licenses/>. */1920/* As a special exception, you may create a larger work that contains21part or all of the Bison parser skeleton and distribute that work22under terms of your choice, so long as that work isn't itself a23parser generator using the skeleton or a modified version thereof24as a parser skeleton. Alternatively, if you modify or redistribute25the parser skeleton itself, you may (at your option) remove this26special exception, which will cause the skeleton and the resulting27Bison output files to be licensed under the GNU General Public28License without this special exception.2930This special exception was added by the Free Software Foundation in31version 2.2 of Bison. */3233/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,34especially those whose name start with YY_ or yy_. They are35private implementation details that can be changed or removed. */3637#ifndef YY_CMFORTRAN_YY_CMFORTRANPARSERTOKENS_H_INCLUDED38# define YY_CMFORTRAN_YY_CMFORTRANPARSERTOKENS_H_INCLUDED39/* Debug traces. */40#ifndef YYDEBUG41# define YYDEBUG 042#endif43#if YYDEBUG44extern int cmFortran_yydebug;45#endif4647/* Token kinds. */48#ifndef YYTOKENTYPE49# define YYTOKENTYPE50enum yytokentype51{52YYEMPTY = -2,53YYEOF = 0, /* "end of file" */54YYerror = 256, /* error */55YYUNDEF = 257, /* "invalid token" */56EOSTMT = 258, /* EOSTMT */57ASSIGNMENT_OP = 259, /* ASSIGNMENT_OP */58GARBAGE = 260, /* GARBAGE */59CPP_LINE_DIRECTIVE = 261, /* CPP_LINE_DIRECTIVE */60CPP_INCLUDE = 262, /* CPP_INCLUDE */61F90PPR_INCLUDE = 263, /* F90PPR_INCLUDE */62COCO_INCLUDE = 264, /* COCO_INCLUDE */63F90PPR_DEFINE = 265, /* F90PPR_DEFINE */64CPP_DEFINE = 266, /* CPP_DEFINE */65F90PPR_UNDEF = 267, /* F90PPR_UNDEF */66CPP_UNDEF = 268, /* CPP_UNDEF */67CPP_IFDEF = 269, /* CPP_IFDEF */68CPP_IFNDEF = 270, /* CPP_IFNDEF */69CPP_IF = 271, /* CPP_IF */70CPP_ELSE = 272, /* CPP_ELSE */71CPP_ELIF = 273, /* CPP_ELIF */72CPP_ENDIF = 274, /* CPP_ENDIF */73F90PPR_IFDEF = 275, /* F90PPR_IFDEF */74F90PPR_IFNDEF = 276, /* F90PPR_IFNDEF */75F90PPR_IF = 277, /* F90PPR_IF */76F90PPR_ELSE = 278, /* F90PPR_ELSE */77F90PPR_ELIF = 279, /* F90PPR_ELIF */78F90PPR_ENDIF = 280, /* F90PPR_ENDIF */79COMMA = 281, /* COMMA */80COLON = 282, /* COLON */81DCOLON = 283, /* DCOLON */82LPAREN = 284, /* LPAREN */83RPAREN = 285, /* RPAREN */84UNTERMINATED_STRING = 286, /* UNTERMINATED_STRING */85STRING = 287, /* STRING */86WORD = 288, /* WORD */87CPP_INCLUDE_ANGLE = 289, /* CPP_INCLUDE_ANGLE */88END = 290, /* END */89INCLUDE = 291, /* INCLUDE */90INTERFACE = 292, /* INTERFACE */91MODULE = 293, /* MODULE */92SUBMODULE = 294, /* SUBMODULE */93USE = 295 /* USE */94};95typedef enum yytokentype yytoken_kind_t;96#endif9798/* Value type. */99#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED100union YYSTYPE101{102#line 76 "cmFortranParser.y"103104char* string;105106#line 108 "cmFortranParserTokens.h"107108};109typedef union YYSTYPE YYSTYPE;110# define YYSTYPE_IS_TRIVIAL 1111# define YYSTYPE_IS_DECLARED 1112#endif113114115116117int cmFortran_yyparse (yyscan_t yyscanner);118119120#endif /* !YY_CMFORTRAN_YY_CMFORTRANPARSERTOKENS_H_INCLUDED */121122123