Explorar o código

* no support yet for packed records which need to be initialized

git-svn-id: trunk@4499 -
Jonas Maebe %!s(int64=19) %!d(string=hai) anos
pai
achega
2b3250aac0
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      compiler/ptype.pas

+ 3 - 0
compiler/ptype.pas

@@ -317,6 +317,9 @@ implementation
          recst.addalignmentpadding;
          { restore symtable stack }
          symtablestack.pop(recst);
+         if trecorddef(record_dec).is_packed and
+            record_dec.needs_inittable then
+           Message(type_e_no_packed_inittable);
       end;