Home
last modified time | relevance | path

Searched refs:stateno (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/byacc/
H A Dmkpar.c17 static action *add_reductions(int stateno, action *actions);
18 static action *get_shifts(int stateno);
19 static action *parse_actions(int stateno);
20 static int sole_reduction(int stateno);
64 parse_actions(int stateno) in parse_actions() argument
68 actions = get_shifts(stateno); in parse_actions()
69 actions = add_reductions(stateno, actions); in parse_actions()
74 get_shifts(int stateno) in get_shifts() argument
81 sp = shift_table[stateno]; in get_shifts()
109 add_reductions(int stateno, action *actions) in add_reductions() argument
[all …]
H A Dlalr.c14 static void add_lookback_edge(int stateno, int ruleno, int gotono);
298 int stateno = to_state[i]; in initialize_F() local
300 sp = shift_table[stateno]; in initialize_F()
318 edge[nedges++] = map_goto(stateno, symbol); in initialize_F()
360 Value_t stateno; in build_relations() local
381 stateno = state1; in build_relations()
386 sp = shift_table[stateno]; in build_relations()
391 stateno = sp->shift[j]; in build_relations()
392 if (accessing_symbol[stateno] == symbol2) in build_relations()
396 states[length++] = stateno; in build_relations()
[all …]
H A Dverbose.c7 static void print_actions(int stateno);
10 static void print_gotos(int stateno);
248 print_actions(int stateno) in print_actions() argument
253 if (stateno == final_state) in print_actions()
256 p = parser[stateno]; in print_actions()
260 print_reductions(p, defred[stateno]); in print_actions()
263 sp = shift_table[stateno]; in print_actions()
269 print_gotos(stateno); in print_actions()
345 print_gotos(int stateno) in print_gotos() argument
352 sp = shift_table[stateno]; in print_gotos()
H A Dgraph.c5 static void graph_state(int stateno);
52 graph_state(int stateno) in graph_state() argument
57 larno = (unsigned)lookaheads[stateno]; in graph_state()
58 fprintf(graph_file, "\n\tq%d [label=\"%d:\\l", stateno, stateno); in graph_state()
/freebsd/contrib/sqlite3/
H A Dsqlite3.c173928 YYACTIONTYPE stateno; /* The state-number, or reduce action in SHIFTREDUCE */
174797 yypParser->yystack[0].stateno = 0;
175050 int stateno, iLookAhead, i;
175052 for(stateno=0; stateno<YYNSTATE; stateno++){
175053 i = yy_shift_ofst[stateno];
175056 if( yycoverage[stateno][iLookAhead]==0 ) nMissed++;
175058 fprintf(out,"State %d lookahead %s %s\n", stateno,
175060 yycoverage[stateno][iLookAhead] ? "ok" : "missed");
175074 YYACTIONTYPE stateno /* Current state number */
175078 if( stateno>YY_MAX_SHIFT ) return stateno;
[all …]