aboutsummaryrefslogtreecommitdiff
path: root/backendC/CleanCompilerSources
diff options
context:
space:
mode:
authorjohnvg2016-06-06 13:05:02 +0000
committerjohnvg2016-06-06 13:05:02 +0000
commit0e28856005f0b83ddeb334a3ca6848b96f1f5af5 (patch)
treeb7d438b8e0e84dc0cd36a06cfb0762ff0171a897 /backendC/CleanCompilerSources
parentfix bug that occurs if the same label name is used for inline code in differe... (diff)
fix previous commit
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2723 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'backendC/CleanCompilerSources')
-rw-r--r--backendC/CleanCompilerSources/backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backendC/CleanCompilerSources/backend.c b/backendC/CleanCompilerSources/backend.c
index 01b4b0e..9ed74e8 100644
--- a/backendC/CleanCompilerSources/backend.c
+++ b/backendC/CleanCompilerSources/backend.c
@@ -2647,7 +2647,7 @@ BEDeclareRuleType (int functionIndex, int moduleIndex, CleanString name)
if (module->bem_isSystemModule)
/* for inline code */
- newIdent = PutStringInHashTable (ConvertCleanString (name), SymbolIdTable);
+ newIdent = PutStringInHashTable (ConvertCleanString (name), FirstSystemModuleTable + moduleIndex);
else
{
newIdent = ConvertAllocType (IdentS);