#include "render.h"
#include "htmltable.h"
#include "htmllex.h"
Include dependency graph for y.tab.c:
Go to the source code of this file.
Data Structures | |
struct | sfont_t |
struct | fitem |
struct | fpara |
union | YYSTYPE |
union | yyalloc |
Defines | |
#define | YYBISON 1 |
#define | YYBISON_VERSION "2.3" |
#define | YYSKELETON_NAME "yacc.c" |
#define | YYPURE 0 |
#define | YYLSP_NEEDED 0 |
#define | T_end_br 258 |
#define | T_end_img 259 |
#define | T_row 260 |
#define | T_end_row 261 |
#define | T_html 262 |
#define | T_end_html 263 |
#define | T_end_table 264 |
#define | T_end_cell 265 |
#define | T_end_font 266 |
#define | T_string 267 |
#define | T_error 268 |
#define | T_BR 269 |
#define | T_br 270 |
#define | T_IMG 271 |
#define | T_img 272 |
#define | T_table 273 |
#define | T_cell 274 |
#define | T_font 275 |
#define | YYDEBUG 0 |
#define | YYERROR_VERBOSE 0 |
#define | YYTOKEN_TABLE 0 |
#define | yystype YYSTYPE |
#define | YYSTYPE_IS_DECLARED 1 |
#define | YYSTYPE_IS_TRIVIAL 1 |
#define | YYSIZE_T unsigned int |
#define | YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
#define | YY_(msgid) msgid |
#define | YYUSE(e) ((void) (e)) |
#define | YYID(n) (n) |
#define | YYSTACK_ALLOC YYMALLOC |
#define | YYSTACK_FREE YYFREE |
#define | YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
#define | YYMALLOC malloc |
#define | YYFREE free |
#define | YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
#define | YYSTACK_BYTES(N) |
#define | YYCOPY(To, From, Count) |
#define | YYSTACK_RELOCATE(Stack) |
#define | YYFINAL 17 |
#define | YYLAST 61 |
#define | YYNTOKENS 21 |
#define | YYNNTS 23 |
#define | YYNRULES 38 |
#define | YYNSTATES 59 |
#define | YYUNDEFTOK 2 |
#define | YYMAXUTOK 275 |
#define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
#define | YYPACT_NINF -9 |
#define | YYTABLE_NINF -36 |
#define | yyerrok (yyerrstatus = 0) |
#define | yyclearin (yychar = YYEMPTY) |
#define | YYEMPTY (-2) |
#define | YYEOF 0 |
#define | YYACCEPT goto yyacceptlab |
#define | YYABORT goto yyabortlab |
#define | YYERROR goto yyerrorlab |
#define | YYFAIL goto yyerrlab |
#define | YYRECOVERING() (!!yyerrstatus) |
#define | YYBACKUP(Token, Value) |
#define | YYTERROR 1 |
#define | YYERRCODE 256 |
#define | YYRHSLOC(Rhs, K) ((Rhs)[K]) |
#define | YYLLOC_DEFAULT(Current, Rhs, N) |
#define | YY_LOCATION_PRINT(File, Loc) ((void) 0) |
#define | YYLEX yylex () |
#define | YYDPRINTF(Args) |
#define | YY_SYMBOL_PRINT(Title, Type, Value, Location) |
#define | YY_STACK_PRINT(Bottom, Top) |
#define | YY_REDUCE_PRINT(Rule) |
#define | YYINITDEPTH 200 |
#define | YYMAXDEPTH 10000 |
#define | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) |
Typedefs | |
typedef unsigned char | yytype_uint8 |
typedef short int | yytype_int8 |
typedef unsigned short int | yytype_uint16 |
typedef short int | yytype_int16 |
Enumerations | |
enum | yytokentype { T_end_br = 258, T_end_img = 259, T_row = 260, T_end_row = 261, T_html = 262, T_end_html = 263, T_end_table = 264, T_end_cell = 265, T_end_font = 266, T_string = 267, T_error = 268, T_BR = 269, T_br = 270, T_IMG = 271, T_img = 272, T_table = 273, T_cell = 274, T_font = 275, T_end_br = 258, T_end_img = 259, T_row = 260, T_end_row = 261, T_html = 262, T_end_html = 263, T_end_table = 264, T_end_cell = 265, T_end_font = 266, T_string = 267, T_error = 268, T_BR = 269, T_br = 270, T_IMG = 271, T_img = 272, T_table = 273, T_cell = 274, T_font = 275, T_graph = 258, T_digraph = 259, T_strict = 260, T_node = 261, T_edge = 262, T_edgeop = 263, T_symbol = 264, T_qsymbol = 265, T_subgraph = 266, T_graph = 258, T_digraph = 259, T_strict = 260, T_node = 261, T_edge = 262, T_edgeop = 263, T_symbol = 264, T_qsymbol = 265, T_subgraph = 266 } |
Functions | |
int | yyparse (void) |
htmllabel_t * | parseHTML (char *txt, int *warn, int charset) |
Variables | |
int | yychar |
YYSTYPE | yylval |
int | yynerrs |
#define YYBACKUP | ( | Token, | |||
Value | ) |
#define YYCOPY | ( | To, | |||
From, | |||||
Count | ) |
#define YYLLOC_DEFAULT | ( | Current, | |||
Rhs, | |||||
N | ) |
Value:
do \ if (YYID (N)) \ { \ (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \ (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \ (Current).last_line = YYRHSLOC (Rhs, N).last_line; \ (Current).last_column = YYRHSLOC (Rhs, N).last_column; \ } \ else \ { \ (Current).first_line = (Current).last_line = \ YYRHSLOC (Rhs, 0).last_line; \ (Current).first_column = (Current).last_column = \ YYRHSLOC (Rhs, 0).last_column; \ } \ while (YYID (0))
#define YYPOPSTACK | ( | N | ) | (yyvsp -= (N), yyssp -= (N)) |
#define YYSTACK_BYTES | ( | N | ) |
Value:
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ + YYSTACK_GAP_MAXIMUM)
#define YYSTACK_RELOCATE | ( | Stack | ) |
#define YYTRANSLATE | ( | YYX | ) | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
typedef short int yytype_int16 |
typedef short int yytype_int8 |
typedef unsigned short int yytype_uint16 |
typedef unsigned char yytype_uint8 |
enum yytokentype |
htmllabel_t* parseHTML | ( | char * | txt, | |
int * | warn, | |||
int | charset | |||
) |
Definition at line 2270 of file y.tab.c.
References agxbfree(), agxbinit(), sfont_t::cfont, clearHTMLlexer(), dtclose(), dtopen(), Dtqueue, htmlparse(), initHTMLlexer(), NULL, sfont_t::pfont, SMALLBUF, str, and yyparse().
int yyparse | ( | void | ) |
Definition at line 1665 of file y.tab.c.
References agxbuse, dtopen(), Dtqueue, HTML_IMAGE, HTML_TBL, HTML_TEXT, YYSTYPE::i, YYSTYPE::img, YYSTYPE::tbl, YYSTYPE::txt, YY_, YY_REDUCE_PRINT, YY_STACK_PRINT, YY_SYMBOL_PRINT, YYABORT, YYACCEPT, YYDPRINTF, YYEMPTY, YYEOF, YYFINAL, YYID, YYINITDEPTH, YYLAST, YYLEX, yylval, YYMAXDEPTH, YYNTOKENS, YYPACT_NINF, YYPOPSTACK, YYSIZE_T, YYSTACK_ALLOC, YYSTACK_ALLOC_MAXIMUM, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, YYTABLE_NINF, YYTERROR, YYTRANSLATE, and yyalloc::yyvs.
Referenced by parseHTML().