oop
This commit is contained in:
@ -157,7 +157,7 @@ int run(FILE *alpha) {
|
||||
|
||||
if (ir_flag != NULL) {
|
||||
printdebug("[-ir] Intermediate code is enabled.");
|
||||
if (contains_errors) {
|
||||
if (!contains_errors) {
|
||||
emit_as_file(ir_flag, begin);
|
||||
} else {
|
||||
remove(ir_name);
|
||||
@ -168,7 +168,7 @@ int run(FILE *alpha) {
|
||||
if (cg_flag != NULL) {
|
||||
printdebug("[-cg] Code generation is enabled.");
|
||||
|
||||
if (contains_errors) {
|
||||
if (!contains_errors) {
|
||||
generate();
|
||||
} else {
|
||||
remove(cg_name);
|
||||
|
Reference in New Issue
Block a user