equal
deleted
inserted
replaced
140 current_basetype_id = search_base_type.get_basetype_id (current_type_id); |
140 current_basetype_id = search_base_type.get_basetype_id (current_type_id); |
141 |
141 |
142 /* What if the variable has not been declared? Then this should not be a compiler error! |
142 /* What if the variable has not been declared? Then this should not be a compiler error! |
143 * However, currently stage 2 of the compiler already detects when variables have not been delcared, |
143 * However, currently stage 2 of the compiler already detects when variables have not been delcared, |
144 * so if the variable's declaration is not found, then that means that we have an internal compiler error! |
144 * so if the variable's declaration is not found, then that means that we have an internal compiler error! |
|
145 * |
|
146 * Actually, the above is not true anymore. See the use of the any_symbolic_variable in iec_bison.yy |
|
147 * - when defining the delay of a delayed action association in SFC |
|
148 * - in program connections inside configurations (will this search_varfb_instance_type_c class be called to handle this??) |
145 */ |
149 */ |
146 if (NULL == current_type_id) ERROR; |
150 // if (NULL == current_type_id) ERROR; |
147 |
151 |
148 return NULL; |
152 return NULL; |
149 } |
153 } |
150 |
154 |
151 |
155 |