raaahhhhhh

This commit is contained in:
Scarlett
2025-05-02 12:47:22 -04:00
parent 41280fe622
commit 856e443181
5 changed files with 16 additions and 4 deletions

View File

@ -349,6 +349,11 @@ int label_gen(){
}
void emit_as_file(FILE * out_file, Instruction * i){
if (out_file == NULL){
fprintf(stderr, "Error: output file is NULL\n");
return;
}
if(i == NULL){
return;
}