|
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 BOLD = 258, 00043 ITALICS = 259, 00044 UNDERLINE = 260, 00045 FIXED = 261, 00046 NOTFIXED = 262, 00047 NOREF = 263, 00048 KEY = 264, 00049 COLOR = 265, 00050 BG_COLOR = 266, 00051 STRINGDEF = 267, 00052 BG_STRINGDEF = 268 00053 }; 00054 #endif 00055 /* Tokens. */ 00056 #define BOLD 258 00057 #define ITALICS 259 00058 #define UNDERLINE 260 00059 #define FIXED 261 00060 #define NOTFIXED 262 00061 #define NOREF 263 00062 #define KEY 264 00063 #define COLOR 265 00064 #define BG_COLOR 266 00065 #define STRINGDEF 267 00066 #define BG_STRINGDEF 268 00067 00068 00069 00070 00071 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 00072 typedef union YYSTYPE 00073 { 00074 00075 /* Line 1676 of yacc.c */ 00076 #line 74 "../../../lib/srchilite/stylecssparser.yy" 00077 00078 int tok ; /* command */ 00079 const std::string * string ; /* string : id, ... */ 00080 srchilite::StyleConstant flag ; 00081 srchilite::StyleConstants *styleconstants; 00082 srchilite::KeyList *keylist; 00083 00084 00085 00086 /* Line 1676 of yacc.c */ 00087 #line 88 "../../../lib/srchilite/stylecssparser.h" 00088 } YYSTYPE; 00089 # define YYSTYPE_IS_TRIVIAL 1 00090 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 00091 # define YYSTYPE_IS_DECLARED 1 00092 #endif 00093 00094 extern YYSTYPE stylecsssc_lval; 00095 00096