equal
deleted
inserted
replaced
3207 | prev_declared_ref_type_name |
3207 | prev_declared_ref_type_name |
3208 ; |
3208 ; |
3209 |
3209 |
3210 |
3210 |
3211 ref_spec_init: /* defined in IEC 61131-3 v3 */ |
3211 ref_spec_init: /* defined in IEC 61131-3 v3 */ |
3212 ref_spec /* For the moment, we do not support initialising reference data types */ |
3212 ref_spec |
|
3213 {$$ = new ref_spec_init_c($1, NULL, locloc(@$));} |
|
3214 /* For the moment, we do not support initialising reference data types... |
|
3215 | ref_spec ASSIGN ... |
|
3216 {$$ = new ref_spec_init_c($1, $3, locloc(@$));} |
|
3217 */ |
3213 ; |
3218 ; |
3214 |
3219 |
3215 ref_type_decl: /* defined in IEC 61131-3 v3 */ |
3220 ref_type_decl: /* defined in IEC 61131-3 v3 */ |
3216 identifier ':' ref_spec_init |
3221 identifier ':' ref_spec_init |
3217 {$$ = new ref_type_decl_c($1, $3, locloc(@$)); |
3222 {$$ = new ref_type_decl_c($1, $3, locloc(@$)); |