Explorar el Código

* fixed copy/paste error in r28322

git-svn-id: branches/hlcgllvm@28759 -
Jonas Maebe hace 11 años
padre
commit
489594f02f
Se han modificado 1 ficheros con 1 adiciones y 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;