#include <stdio.h>
#include <cghdr.h>
Go to the source code of this file.
|
#define | YYBISON 1 |
|
#define | YYBISON_VERSION "2.7" |
|
#define | YYSKELETON_NAME "yacc.c" |
|
#define | YYPURE 0 |
|
#define | YYPUSH 0 |
|
#define | YYPULL 1 |
|
#define | YY_NULL 0 |
|
#define | YYERROR_VERBOSE 0 |
|
#define | YY_YY_Y_TAB_H_INCLUDED |
|
#define | YYDEBUG 0 |
|
#define | YYTOKENTYPE |
|
#define | T_graph 258 |
|
#define | T_node 259 |
|
#define | T_edge 260 |
|
#define | T_digraph 261 |
|
#define | T_subgraph 262 |
|
#define | T_strict 263 |
|
#define | T_edgeop 264 |
|
#define | T_list 265 |
|
#define | T_attr 266 |
|
#define | T_atom 267 |
|
#define | T_qatom 268 |
|
#define | YYSTYPE_IS_TRIVIAL 1 |
|
#define | aagstype YYSTYPE /* obsolescent; will be withdrawn */ |
|
#define | YYSTYPE_IS_DECLARED 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 aagalloc) - 1) |
|
#define | YYSTACK_BYTES(N) |
|
#define | YYCOPY_NEEDED 1 |
|
#define | YYSTACK_RELOCATE(Stack_alloc, Stack) |
|
#define | YYCOPY(Dst, Src, Count) |
|
#define | YYFINAL 6 |
|
#define | YYLAST 59 |
|
#define | YYNTOKENS 24 |
|
#define | YYNNTS 35 |
|
#define | YYNRULES 62 |
|
#define | YYNSTATES 80 |
|
#define | YYUNDEFTOK 2 |
|
#define | YYMAXUTOK 268 |
|
#define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? aagtranslate[YYX] : YYUNDEFTOK) |
|
#define | YYPACT_NINF -18 |
|
#define | YYTABLE_NINF -56 |
|
#define | aagpact_value_is_default(Yystate) (!!((Yystate) == (-18))) |
|
#define | aagtable_value_is_error(Yytable_value) YYID (0) |
|
#define | aagerrok (aagerrstatus = 0) |
|
#define | aagclearin (aagchar = YYEMPTY) |
|
#define | YYEMPTY (-2) |
|
#define | YYEOF 0 |
|
#define | YYACCEPT goto aagacceptlab |
|
#define | YYABORT goto aagabortlab |
|
#define | YYERROR goto aagerrorlab |
|
#define | YYFAIL goto aagerrlab |
|
#define | YYRECOVERING() (!!aagerrstatus) |
|
#define | YYBACKUP(Token, Value) |
|
#define | YYTERROR 1 |
|
#define | YYERRCODE 256 |
|
#define | YY_LOCATION_PRINT(File, Loc) ((void) 0) |
|
#define | YYLEX aaglex () |
|
#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 | YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
|
#define | YY_IGNORE_MAYBE_UNINITIALIZED_END |
|
#define | YY_INITIAL_VALUE(Value) /* Nothing. */ |
|
#define | YYPOPSTACK(N) (aagvsp -= (N), aagssp -= (N)) |
|
#define | NILitem NIL(item*) |
|
|
enum | aagtokentype {
T_graph = 258,
T_node = 259,
T_edge = 260,
T_digraph = 261,
T_subgraph = 262,
T_strict = 263,
T_edgeop = 264,
T_list = 265,
T_attr = 266,
T_atom = 267,
T_qatom = 268,
T_graph = 258,
T_node = 259,
T_edge = 260,
T_digraph = 261,
T_subgraph = 262,
T_strict = 263,
T_edgeop = 264,
T_list = 265,
T_attr = 266,
T_atom = 267,
T_qatom = 268
} |
|
|
void | aagerror (char *) |
|
int | aagparse () |
|
| YY_SYMBOL_PRINT (aagmsg, aagtype, aagvaluep, aaglocationp) |
|
| switch (aagtype) |
|
YYSTYPE aaglval | YY_INITIAL_VALUE (aagval_default) |
|
| YYDPRINTF ((stderr,"Starting parse\n")) |
|
| if (aagss+aagstacksize-1<=aagssp) |
|
| YYDPRINTF ((stderr,"Entering state %d\n", aagstate)) |
|
| if (aagchar==YYEMPTY) |
|
| if (aagchar<=YYEOF) |
|
| YY_SYMBOL_PRINT ("Next token is", aagtoken,&aaglval,&aaglloc) |
|
| if (aagn<=0) |
|
| YY_SYMBOL_PRINT ("Shifting", aagtoken,&aaglval,&aaglloc) |
|
| YY_REDUCE_PRINT (aagn) |
|
| switch (aagn) |
|
| YY_SYMBOL_PRINT ("-> $$ =", aagr1[aagn],&aagval,&aagloc) |
|
| YYPOPSTACK (aaglen) |
|
| YY_STACK_PRINT (aagss, aagssp) |
|
| if (!aagerrstatus) |
|
| if (aagerrstatus==3) |
|
| for (;;) |
|
YY_IGNORE_MAYBE_UNINITIALIZED_END | YY_SYMBOL_PRINT ("Shifting", aagstos[aagn], aagvsp, aaglsp) |
|
| aagdestruct ("Cleanup: discarding lookahead", aagtoken,&aaglval) |
|
| while (aagssp!=aagss) |
|
| YYSTACK_FREE (aagss) |
|
return | YYID (aagresult) |
|
Agraph_t * | agconcat (Agraph_t *g, void *chan, Agdisc_t *disc) |
|
Agraph_t * | agread (void *fp, Agdisc_t *disc) |
|
#define aagpact_value_is_default |
( |
|
Yystate | ) |
(!!((Yystate) == (-18))) |
#define aagstype YYSTYPE /* obsolescent; will be withdrawn */ |
#define aagtable_value_is_error |
( |
|
Yytable_value | ) |
YYID (0) |
#define YY_ |
( |
|
Msgid | ) |
Msgid |
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
#define YY_IGNORE_MAYBE_UNINITIALIZED_END |
#define YY_INITIAL_VALUE |
( |
|
Value | ) |
/* Nothing. */ |
#define YY_LOCATION_PRINT |
( |
|
File, |
|
|
|
Loc |
|
) |
| ((void) 0) |
#define YY_REDUCE_PRINT |
( |
|
Rule | ) |
|
#define YY_STACK_PRINT |
( |
|
Bottom, |
|
|
|
Top |
|
) |
| |
#define YY_SYMBOL_PRINT |
( |
|
Title, |
|
|
|
Type, |
|
|
|
Value, |
|
|
|
Location |
|
) |
| |
#define YY_YY_Y_TAB_H_INCLUDED |
#define YYABORT goto aagabortlab |
#define YYACCEPT goto aagacceptlab |
#define YYBACKUP |
( |
|
Token, |
|
|
|
Value |
|
) |
| |
Value:
if(aagss+aagstacksize-1<=aagssp)
Definition at line 727 of file grammar.c.
#define YYBISON_VERSION "2.7" |
#define YYCOPY |
( |
|
Dst, |
|
|
|
Src, |
|
|
|
Count |
|
) |
| |
Value:do \
for (aagi = 0; aagi < (Count); aagi++) \
(Dst)[aagi] = (Src)[aagi]; \
Definition at line 443 of file grammar.c.
#define YYDPRINTF |
( |
|
Args | ) |
|
#define YYERROR goto aagerrorlab |
#define YYERROR_VERBOSE 0 |
#define YYSIZE_T unsigned int |
#define YYSKELETON_NAME "yacc.c" |
#define YYSTACK_BYTES |
( |
|
N | ) |
|
Value:
#define YYSTACK_GAP_MAXIMUM
Definition at line 411 of file grammar.c.
Referenced by if().
#define YYSTACK_GAP_MAXIMUM (sizeof (union aagalloc) - 1) |
#define YYSTACK_RELOCATE |
( |
|
Stack_alloc, |
|
|
|
Stack |
|
) |
| |
Value:do \
YYCOPY (&aagptr->Stack_alloc, Stack, aagsize); \
Stack = &aagptr->Stack_alloc; \
aagptr += aagnewbytes / sizeof (*aagptr); \
#define YYCOPY(Dst, Src, Count)
#define YYSTACK_GAP_MAXIMUM
Definition at line 422 of file grammar.c.
Referenced by if().
#define YYSTYPE_IS_DECLARED 1 |
#define YYSTYPE_IS_TRIVIAL 1 |
#define YYUSE |
( |
|
E | ) |
((void) (E)) |
Enumerator |
---|
T_graph |
|
T_node |
|
T_edge |
|
T_digraph |
|
T_subgraph |
|
T_strict |
|
T_edgeop |
|
T_list |
|
T_attr |
|
T_atom |
|
T_qatom |
|
T_graph |
|
T_node |
|
T_edge |
|
T_digraph |
|
T_subgraph |
|
T_strict |
|
T_edgeop |
|
T_list |
|
T_attr |
|
T_atom |
|
T_qatom |
|
Definition at line 169 of file grammar.c.
aagdestruct |
( |
"Cleanup: discarding lookahead" |
, |
|
|
aagtoken |
, |
|
|
& |
aaglval |
|
) |
| |
Definition at line 2176 of file scan.c.
References agerr(), AGERR, agxbfree(), agxbinit(), agxbput(), agxbputc, agxbuse, BEGIN, comment, hstring, INITIAL, qstring, YY_BUF_SIZE, and YYSTATE.
Referenced by if().
Definition at line 1846 of file grammar.c.
References aagdestruct(), aagn, aagpact_value_is_default, aagssp, aagstate, YY_STACK_PRINT, YYABORT, YYLAST, YYPOPSTACK, and YYTERROR.
Referenced by jacobi(), Multilevel_MQ_Clustering_establish(), Operator_diag_precon_new(), Operator_uniform_stress_diag_precon_new(), SparseMatrix_add(), SparseMatrix_apply_fun(), SparseMatrix_apply_fun_general(), SparseMatrix_crop(), SparseMatrix_divide_row_by_degree(), SparseMatrix_from_dense(), SparseMatrix_get_real_adjacency_matrix_symmetrized(), SparseMatrix_multiply(), SparseMatrix_multiply_by_scaler(), SparseMatrix_normalize_by_row(), SparseMatrix_normalize_to_rowsum1(), SparseMatrix_print_coord(), SparseMatrix_print_csr(), SparseMatrix_remove_diagonal(), SparseMatrix_remove_upper(), SparseMatrix_sum_repeat_entries(), and SpringSmoother_new().
Definition at line 1332 of file grammar.c.
References aagss, aagalloc::aagss_alloc, aagvs, aagalloc::aagvs_alloc, YY_, YYABORT, YYDPRINTF, YYMAXDEPTH, YYSIZE_T, YYSTACK_ALLOC, YYSTACK_BYTES, YYSTACK_FREE, and YYSTACK_RELOCATE.
Referenced by get_distance_matrix(), makeAddPoly(), RBDelete(), SparseMatrix_multiply_vector(), SparseMatrix_scaled_by_vector(), SparseMatrix_sum_repeat_entries(), spring_electrical_spring_embedding(), spring_maxent_embedding(), StressMajorizationSmoother_smooth(), and TriangleSmoother_new().
YY_SYMBOL_PRINT |
( |
"Next token is" |
, |
|
|
aagtoken |
, |
|
|
& |
aaglval, |
|
|
& |
aaglloc |
|
) |
| |
YY_SYMBOL_PRINT |
( |
"Shifting" |
, |
|
|
aagtoken |
, |
|
|
& |
aaglval, |
|
|
& |
aaglloc |
|
) |
| |
YYDPRINTF |
( |
(stderr,"Starting parse\n") |
| ) |
|
YYDPRINTF |
( |
(stderr,"Entering state %d\n", aagstate) |
| ) |
|
aagexhaustedlab __pad10__ |
FILE * aagin = (FILE *) 0 |
Initial value:
Definition at line 1264 of file grammar.c.
Referenced by aginit(), agwrite(), beginpath(), colorxlate(), endpath(), geominit(), html_string(), hue2rgb(), hue2rgb_real(), SparseMatrix_pseudo_diameter_unweighted(), SparseMatrix_sum_repeat_entries(), SparseStressMajorizationSmoother_new(), StressMajorizationSmoother2_new(), TriangleSmoother_new(), UniformStressSmoother_new(), validQ_int_string(), vector_ordering(), and while().