Преглед на файлове

* declare the type symbol of an internal def as sp_internal

Sven/Sarah Barth преди 3 години
родител
ревизия
8bef91d1de
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      compiler/symdef.pas

+ 1 - 0
compiler/symdef.pas

@@ -5110,6 +5110,7 @@ implementation
         if n<>'' then
           begin
             ts:=ctypesym.create(n,self);
+            include(ts.symoptions,sp_internal);
             { avoid hints about unused types (these may only be used for
               typed constant data) }
             ts.increfcount;