[fpc-devel] ppudump question

Gennady Agranov gennadyagranov at gmail.com
Sun Aug 23 00:45:43 CEST 2015


Hi,

1. I have code that heavily uses enums/sets

When I use ppudump to print  *.ppu files I see some sets reported with 
null ElType and I do not understand what causes them :(

And I do not believe that they are referenced at all...

Any ideas why "set" is reported with no ElType?

Thanks,
Gennady

Example:

json version:

       {
         "Type": "set",
         "Id": 236,
         "Size": 1,
         "Base": 0,
         "Max": 0,
         "ElType": null
       },

text version:

** Definition Id 236 **
Set definition
       Type symbol : (7357) Nil
        DefOptions :
         DefStates :
      Element type : (7361) Nil
              Size : 1
          Set Base : 0
           Set Max : 0

xml version:

  <set>
       <id>236</id>
       <size>1</size>
       <base>0</base>
       <max>0</max>
       <eltype></eltype>
     </set>


       {
         "Type": "set",
         "Id": 92,
         "Size": 1,
         "Base": 0,
         "Max": 0,
         "ElType": null
       }




More information about the fpc-devel mailing list