MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / start_rule

Function start_rule

extern/btyacc/reader.c:1225–1236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1223}
1224
1225void start_rule(bucket *bp, int s_lineno)
1226{
1227 if (bp->class == TERM)
1228 terminal_lhs(s_lineno);
1229 bp->class = NONTERM;
1230 if (!bp->index) bp->index = nrules;
1231 if (nrules >= maxrules)
1232 expand_rules();
1233 plhs[nrules] = bp;
1234 rprec[nrules] = UNDEFINED;
1235 rassoc[nrules] = TOKEN;
1236}
1237
1238void end_rule()
1239{

Callers 3

advance_to_startFunction · 0.85
add_symbolFunction · 0.85
read_grammarFunction · 0.85

Calls 2

terminal_lhsFunction · 0.85
expand_rulesFunction · 0.85

Tested by

no test coverage detected