Makefile rewrite

This commit is contained in:
Scarlett
2025-04-25 12:46:07 -04:00
parent 945dda59d0
commit 2c712ed221
10 changed files with 380 additions and 177 deletions

View File

@ -1072,7 +1072,6 @@ TableNode *look_up(SymbolTable *table, char *x) {
}
int col_widths[5] = {30, 8, 8, 35, 35};
void printline(FILE *file_ptr, bool b);
void printline(FILE *file_ptr, bool b) {
if (b) {
fprintf(file_ptr, "oop\n");
@ -1087,7 +1086,6 @@ void printline(FILE *file_ptr, bool b) {
fprintf(file_ptr, "\n");
}
void st_fprint(FILE *file_ptr, char *label1, int label2, int label3, char *label4, char *label5);
void st_fprint(FILE *file_ptr, char *label1, int label2, int label3, char *label4, char *label5) {
if (label3 == -100) {
fprintf(file_ptr, "%-*s: %0*d : %*s :%-*s:%-*s\n",