00001 /* A Bison parser, made by GNU Bison 3.0. */ 00002 00003 /* Bison interface for Yacc-like parsers in C 00004 00005 Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc. 00006 * Copyright (c) 2013, Even Rouault <even dot rouault at mines-paris dot org> 00007 00008 This program is free software: you can redistribute it and/or modify 00009 it under the terms of the GNU General Public License as published by 00010 the Free Software Foundation, either version 3 of the License, or 00011 (at your option) any later version. 00012 00013 This program is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 GNU General Public License for more details. 00017 00018 You should have received a copy of the GNU General Public License 00019 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 00020 00021 /* As a special exception, you may create a larger work that contains 00022 part or all of the Bison parser skeleton and distribute that work 00023 under terms of your choice, so long as that work isn't itself a 00024 parser generator using the skeleton or a modified version thereof 00025 as a parser skeleton. Alternatively, if you modify or redistribute 00026 the parser skeleton itself, you may (at your option) remove this 00027 special exception, which will cause the skeleton and the resulting 00028 Bison output files to be licensed under the GNU General Public 00029 License without this special exception. 00030 00031 This special exception was added by the Free Software Foundation in 00032 version 2.2 of Bison. */ 00033 00034 #ifndef YY_OSR_CS_WKT_OSR_CS_WKT_PARSER_H_INCLUDED 00035 # define YY_OSR_CS_WKT_OSR_CS_WKT_PARSER_H_INCLUDED 00036 /* Debug traces. */ 00037 #ifndef YYDEBUG 00038 # define YYDEBUG 0 00039 #endif 00040 #if YYDEBUG 00041 extern int osr_cs_wkt_debug; 00042 #endif 00043 00044 /* Token type. */ 00045 #ifndef YYTOKENTYPE 00046 # define YYTOKENTYPE 00047 enum yytokentype 00048 { 00049 END = 0, 00050 T_PARAM_MT = 258, 00051 T_CONCAT_MT = 259, 00052 T_INVERSE_MT = 260, 00053 T_PASSTHROUGH_MT = 261, 00054 T_PROJCS = 262, 00055 T_PROJECTION = 263, 00056 T_GEOGCS = 264, 00057 T_DATUM = 265, 00058 T_SPHEROID = 266, 00059 T_PRIMEM = 267, 00060 T_UNIT = 268, 00061 T_GEOCCS = 269, 00062 T_AUTHORITY = 270, 00063 T_VERT_CS = 271, 00064 T_VERT_DATUM = 272, 00065 T_COMPD_CS = 273, 00066 T_AXIS = 274, 00067 T_TOWGS84 = 275, 00068 T_FITTED_CS = 276, 00069 T_LOCAL_CS = 277, 00070 T_LOCAL_DATUM = 278, 00071 T_PARAMETER = 279, 00072 T_EXTENSION = 280, 00073 T_STRING = 281, 00074 T_NUMBER = 282, 00075 T_IDENTIFIER = 283 00076 }; 00077 #endif 00078 00079 /* Value type. */ 00080 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 00081 typedef int YYSTYPE; 00082 # define YYSTYPE_IS_TRIVIAL 1 00083 # define YYSTYPE_IS_DECLARED 1 00084 #endif 00085 00086 00087 00088 int osr_cs_wkt_parse (osr_cs_wkt_parse_context *context); 00089 00090 #endif /* !YY_OSR_CS_WKT_OSR_CS_WKT_PARSER_H_INCLUDED */