oop
This commit is contained in:
1 parent
d57fa081d7
commit
31b1b051be
1 file changed
+2
-2
+2
-2
@@ -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