Source-highlight Library
|
00001 /* A Bison parser, made by GNU Bison 2.5. */ 00002 00003 /* Bison interface for Yacc-like parsers in C 00004 00005 Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc. 00006 00007 This program is free software: you can redistribute it and/or modify 00008 it under the terms of the GNU General Public License as published by 00009 the Free Software Foundation, either version 3 of the License, or 00010 (at your option) any later version. 00011 00012 This program is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 00019 00020 /* As a special exception, you may create a larger work that contains 00021 part or all of the Bison parser skeleton and distribute that work 00022 under terms of your choice, so long as that work isn't itself a 00023 parser generator using the skeleton or a modified version thereof 00024 as a parser skeleton. Alternatively, if you modify or redistribute 00025 the parser skeleton itself, you may (at your option) remove this 00026 special exception, which will cause the skeleton and the resulting 00027 Bison output files to be licensed under the GNU General Public 00028 License without this special exception. 00029 00030 This special exception was added by the Free Software Foundation in 00031 version 2.2 of Bison. */ 00032 00033 00034 /* Tokens. */ 00035 #ifndef YYTOKENTYPE 00036 # define YYTOKENTYPE 00037 /* Put the tokens into the symbol table, so that GDB and other debuggers 00038 know about them. */ 00039 enum yytokentype { 00040 BEGIN_T = 258, 00041 END_T = 259, 00042 DOC_TEMPLATE_T = 260, 00043 NODOC_TEMPLATE_T = 261, 00044 STYLE_TEMPLATE_T = 262, 00045 STYLE_SEPARATOR_T = 263, 00046 BOLD_T = 264, 00047 ITALICS_T = 265, 00048 UNDERLINE_T = 266, 00049 COLOR_T = 267, 00050 BG_COLOR_T = 268, 00051 FIXED_T = 269, 00052 NOTFIXED_T = 270, 00053 COLORMAP_T = 271, 00054 DEFAULT_T = 272, 00055 ONESTYLE_T = 273, 00056 TRANSLATIONS_T = 274, 00057 EXTENSION_T = 275, 00058 ANCHOR_T = 276, 00059 REFERENCE_T = 277, 00060 INLINE_REFERENCE_T = 278, 00061 POSTLINE_REFERENCE_T = 279, 00062 POSTDOC_REFERENCE_T = 280, 00063 KEY = 281, 00064 STRINGDEF = 282, 00065 REGEXDEF = 283, 00066 LINE_PREFIX_T = 284, 00067 LINENUM_T = 285, 00068 WRONG_INCLUDE_FILE = 286 00069 }; 00070 #endif 00071 /* Tokens. */ 00072 #define BEGIN_T 258 00073 #define END_T 259 00074 #define DOC_TEMPLATE_T 260 00075 #define NODOC_TEMPLATE_T 261 00076 #define STYLE_TEMPLATE_T 262 00077 #define STYLE_SEPARATOR_T 263 00078 #define BOLD_T 264 00079 #define ITALICS_T 265 00080 #define UNDERLINE_T 266 00081 #define COLOR_T 267 00082 #define BG_COLOR_T 268 00083 #define FIXED_T 269 00084 #define NOTFIXED_T 270 00085 #define COLORMAP_T 271 00086 #define DEFAULT_T 272 00087 #define ONESTYLE_T 273 00088 #define TRANSLATIONS_T 274 00089 #define EXTENSION_T 275 00090 #define ANCHOR_T 276 00091 #define REFERENCE_T 277 00092 #define INLINE_REFERENCE_T 278 00093 #define POSTLINE_REFERENCE_T 279 00094 #define POSTDOC_REFERENCE_T 280 00095 #define KEY 281 00096 #define STRINGDEF 282 00097 #define REGEXDEF 283 00098 #define LINE_PREFIX_T 284 00099 #define LINENUM_T 285 00100 #define WRONG_INCLUDE_FILE 286 00101 00102 00103 00104 00105 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 00106 typedef union YYSTYPE 00107 { 00108 00109 /* Line 2068 of yacc.c */ 00110 #line 62 "../../../lib/srchilite/outlangdefparser.yy" 00111 00112 int tok ; /* command */ 00113 bool booloption ; 00114 const std::string * string ; /* string : id, ... */ 00115 int flag ; 00116 00117 00118 00119 /* Line 2068 of yacc.c */ 00120 #line 121 "../../../lib/srchilite/outlangdefparser.h" 00121 } YYSTYPE; 00122 # define YYSTYPE_IS_TRIVIAL 1 00123 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 00124 # define YYSTYPE_IS_DECLARED 1 00125 #endif 00126 00127 extern YYSTYPE outlangdef_lval; 00128 00129