Graphviz  2.29.20120524.0446
lib/common/htmlparse.h
Go to the documentation of this file.
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 htmltokentype {
00040      T_end_br = 258,
00041      T_end_img = 259,
00042      T_row = 260,
00043      T_end_row = 261,
00044      T_html = 262,
00045      T_end_html = 263,
00046      T_end_table = 264,
00047      T_end_cell = 265,
00048      T_end_font = 266,
00049      T_string = 267,
00050      T_error = 268,
00051      T_n_italic = 269,
00052      T_n_bold = 270,
00053      T_n_underline = 271,
00054      T_n_sup = 272,
00055      T_n_sub = 273,
00056      T_HR = 274,
00057      T_hr = 275,
00058      T_end_hr = 276,
00059      T_VR = 277,
00060      T_vr = 278,
00061      T_end_vr = 279,
00062      T_BR = 280,
00063      T_br = 281,
00064      T_IMG = 282,
00065      T_img = 283,
00066      T_table = 284,
00067      T_cell = 285,
00068      T_font = 286,
00069      T_italic = 287,
00070      T_bold = 288,
00071      T_underline = 289,
00072      T_sup = 290,
00073      T_sub = 291
00074    };
00075 #endif
00076 /* Tokens.  */
00077 #define T_end_br 258
00078 #define T_end_img 259
00079 #define T_row 260
00080 #define T_end_row 261
00081 #define T_html 262
00082 #define T_end_html 263
00083 #define T_end_table 264
00084 #define T_end_cell 265
00085 #define T_end_font 266
00086 #define T_string 267
00087 #define T_error 268
00088 #define T_n_italic 269
00089 #define T_n_bold 270
00090 #define T_n_underline 271
00091 #define T_n_sup 272
00092 #define T_n_sub 273
00093 #define T_HR 274
00094 #define T_hr 275
00095 #define T_end_hr 276
00096 #define T_VR 277
00097 #define T_vr 278
00098 #define T_end_vr 279
00099 #define T_BR 280
00100 #define T_br 281
00101 #define T_IMG 282
00102 #define T_img 283
00103 #define T_table 284
00104 #define T_cell 285
00105 #define T_font 286
00106 #define T_italic 287
00107 #define T_bold 288
00108 #define T_underline 289
00109 #define T_sup 290
00110 #define T_sub 291
00111 
00112 
00113 
00114 
00115 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
00116 typedef union YYSTYPE
00117 {
00118 
00119 /* Line 2068 of yacc.c  */
00120 #line 418 "../../lib/common/htmlparse.y"
00121 
00122   int    i;
00123   htmltxt_t*  txt;
00124   htmlcell_t*  cell;
00125   htmltbl_t*   tbl;
00126   htmlfont_t*  font;
00127   htmlimg_t*   img;
00128   pitem*       p;
00129 
00130 
00131 
00132 /* Line 2068 of yacc.c  */
00133 #line 134 "y.tab.h"
00134 } YYSTYPE;
00135 # define YYSTYPE_IS_TRIVIAL 1
00136 # define htmlstype YYSTYPE /* obsolescent; will be withdrawn */
00137 # define YYSTYPE_IS_DECLARED 1
00138 #endif
00139 
00140 extern YYSTYPE htmllval;
00141 
00142