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