Explorar o código

* fixed copy/paste error in r28322

git-svn-id: branches/hlcgllvm@28759 -
Jonas Maebe %!s(int64=11) %!d(string=hai) anos
pai
achega
489594f02f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/symdef.pas

+ 1 - 1
compiler/symdef.pas

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