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

Function output_ctable

extern/btyacc/output.c:744–772  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

742}
743
744void output_ctable()
745{
746 register int i;
747 register int j;
748
749 if (!rflag)
750 fprintf(output_file, "static ");
751 fprintf(output_file, "int yyctable[] = {%39d,", conflicts ?
752 conflicts[0] : 0);
753
754 j = 10;
755 for (i = 1; i < nconflicts; i++)
756 {
757 if (j >= 10)
758 {
759 if (!rflag) ++outline;
760 putc('\n', output_file);
761 j = 1;
762 }
763 else
764 ++j;
765
766 fprintf(output_file, "%5d,", conflicts[i]);
767 }
768 if (!rflag) outline += 2;
769 fprintf(output_file, "\n};\n");
770 if (conflicts)
771 FREE(conflicts);
772}
773
774
775int is_C_identifier(char *name)

Callers 1

output_actionsFunction · 0.85

Calls 1

putcFunction · 0.85

Tested by

no test coverage detected