equal
deleted
inserted
replaced
134 * Otherwise, it points to an object of the apropriate data type (e.g. int_type_name_c, bool_type_name_c, ...) |
134 * Otherwise, it points to an object of the apropriate data type (e.g. int_type_name_c, bool_type_name_c, ...) |
135 */ |
135 */ |
136 symbol_c *datatype; |
136 symbol_c *datatype; |
137 /* The POU in which the symbolic variable (or structured variable, or array variable, or located variable, - any more?) |
137 /* The POU in which the symbolic variable (or structured variable, or array variable, or located variable, - any more?) |
138 * was declared. This will point to a Configuration, Resource, Program, FB, or Function. |
138 * was declared. This will point to a Configuration, Resource, Program, FB, or Function. |
|
139 * This is set in stage 3 by the datatype analyser algorithm (fill/narrow) for the symbols: |
|
140 * symbolic_variable_c, array_variable_c, structured_variable_c |
139 */ |
141 */ |
140 symbol_c *scope; |
142 symbol_c *scope; |
141 |
143 |
142 /*** constant folding ***/ |
144 /*** constant folding ***/ |
143 /* During stage 3 (semantic analysis/checking) we will be doing constant folding. |
145 /* During stage 3 (semantic analysis/checking) we will be doing constant folding. |