stage4/generate_c/generate_c.cc
changeset 930 96f3928ebd96
parent 920 4369ce5e687f
child 933 76324f461aed
equal deleted inserted replaced
929:469de0f54b0e 930:96f3928ebd96
   779 }
   779 }
   780 
   780 
   781 
   781 
   782 /* This class will generate a new datatype for each implicitly declared array datatype
   782 /* This class will generate a new datatype for each implicitly declared array datatype
   783  * (i.e. arrays declared in a variable declaration, or a struct datatype declaration...)
   783  * (i.e. arrays declared in a variable declaration, or a struct datatype declaration...)
   784  * It will do the same for implicitly declared RFE_TO datatypes.
   784  * It will do the same for implicitly declared REF_TO datatypes.
   785  * 
   785  * 
   786  * The class will be called once for each POU declaration, and once for each derived datatype declaration.
   786  * The class will be called once for each POU declaration, and once for each derived datatype declaration.
   787  * 
   787  * 
   788  * e.g.:
   788  * e.g.:
   789  *      VAR  a: ARRAY [1..3] OF INT; END_VAR   <---- ARRAY datatype is implicitly declared inside the variable declaration
   789  *      VAR  a: ARRAY [1..3] OF INT; END_VAR   <---- ARRAY datatype is implicitly declared inside the variable declaration