Browse Source

* fixed copy/paste error in r28322

git-svn-id: branches/hlcgllvm@28759 -
Jonas Maebe 10 years ago
parent
commit
489594f02f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/symdef.pas

+ 1 - 1
compiler/symdef.pas

@@ -3977,7 +3977,7 @@ implementation
           begin
           begin
             current_module.globalsymtable.insertdef(self);
             current_module.globalsymtable.insertdef(self);
             if definedname then
             if definedname then
-              current_module.localsymtable.insert(ctypesym.create(n,self));
+              current_module.globalsymtable.insert(ctypesym.create(n,self));
           end;
           end;
         symtablestack:=oldsymtablestack;
         symtablestack:=oldsymtablestack;
       end;
       end;