aboutsummaryrefslogtreecommitdiff
path: root/backendC
diff options
context:
space:
mode:
authorjohnvg2002-02-13 11:41:53 +0000
committerjohnvg2002-02-13 11:41:53 +0000
commit0d306b2e76d494d518d1e00525d5938ac7ba7f22 (patch)
treee6b7e6e511942cfd197b0a634c3f9672207babb6 /backendC
parentfix bug in the reuse unique nodes optimisation (diff)
don't try to read inline code from the abc file that is
being generated git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1021 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'backendC')
-rw-r--r--backendC/CleanCompilerSources/checker_2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backendC/CleanCompilerSources/checker_2.c b/backendC/CleanCompilerSources/checker_2.c
index 3d6c953..aeb59bd 100644
--- a/backendC/CleanCompilerSources/checker_2.c
+++ b/backendC/CleanCompilerSources/checker_2.c
@@ -93,7 +93,7 @@ void ReadInlineCode (void)
break;
}
- if (symbol!=NULL)
+ if (symbol!=NULL && d_mod->mod_name->symb_ident->ident_name!=CurrentModule)
/* Get the inline instructions of all the rules that are defined in this module */
ScanInlineFile (d_mod->mod_name->symb_ident->ident_name);
}