1587 any_identifier: |
1587 any_identifier: |
1588 identifier |
1588 identifier |
1589 | prev_declared_fb_name |
1589 | prev_declared_fb_name |
1590 | prev_declared_variable_name |
1590 | prev_declared_variable_name |
1591 /**/ |
1591 /**/ |
1592 | prev_declared_enumerated_type_name |
1592 /* ref_type_name is defined in IEC 61131-3 v3 */ |
1593 | prev_declared_simple_type_name |
1593 | prev_declared_ref_type_name {$$ = new identifier_c(((token_c *)$1)->value, locloc(@$));}; // change the derived_datatype_identifier_c into an identifier_c, as it will be taking the place of an identifier! |
1594 | prev_declared_subrange_type_name |
1594 | prev_declared_simple_type_name {$$ = new identifier_c(((token_c *)$1)->value, locloc(@$));}; // change the derived_datatype_identifier_c into an identifier_c, as it will be taking the place of an identifier! |
1595 | prev_declared_array_type_name |
1595 | prev_declared_subrange_type_name {$$ = new identifier_c(((token_c *)$1)->value, locloc(@$));}; // change the derived_datatype_identifier_c into an identifier_c, as it will be taking the place of an identifier! |
1596 | prev_declared_structure_type_name |
1596 | prev_declared_enumerated_type_name {$$ = new identifier_c(((token_c *)$1)->value, locloc(@$));}; // change the derived_datatype_identifier_c into an identifier_c, as it will be taking the place of an identifier! |
1597 | prev_declared_string_type_name |
1597 | prev_declared_array_type_name {$$ = new identifier_c(((token_c *)$1)->value, locloc(@$));}; // change the derived_datatype_identifier_c into an identifier_c, as it will be taking the place of an identifier! |
1598 | prev_declared_ref_type_name /* defined in IEC 61131-3 v3 */ |
1598 | prev_declared_structure_type_name {$$ = new identifier_c(((token_c *)$1)->value, locloc(@$));}; // change the derived_datatype_identifier_c into an identifier_c, as it will be taking the place of an identifier! |
|
1599 | prev_declared_string_type_name {$$ = new identifier_c(((token_c *)$1)->value, locloc(@$));}; // change the derived_datatype_identifier_c into an identifier_c, as it will be taking the place of an identifier! |
1599 | prev_declared_derived_function_name |
1600 | prev_declared_derived_function_name |
1600 | prev_declared_derived_function_block_name |
1601 | prev_declared_derived_function_block_name |
1601 | prev_declared_program_type_name |
1602 | prev_declared_program_type_name |
1602 /**/ |
1603 /**/ |
1603 | prev_declared_resource_name |
1604 | prev_declared_resource_name |