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

Function total_conflicts

extern/btyacc/mkpar.c:243–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241
242
243void total_conflicts()
244{
245 fprintf(stderr, "%s: ", myname);
246 if (SRtotal == 1)
247 fprintf(stderr, "1 shift/reduce conflict");
248 else if (SRtotal > 1)
249 fprintf(stderr, "%d shift/reduce conflicts", SRtotal);
250
251 if (SRtotal && RRtotal)
252 fprintf(stderr, ", ");
253
254 if (RRtotal == 1)
255 fprintf(stderr, "1 reduce/reduce conflict");
256 else if (RRtotal > 1)
257 fprintf(stderr, "%d reduce/reduce conflicts", RRtotal);
258
259 fprintf(stderr, ".\n");
260}
261
262
263int sole_reduction(int stateno)

Callers 1

make_parserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected