equal
deleted
inserted
replaced
74 symbol->accept(*singleton); |
74 symbol->accept(*singleton); |
75 |
75 |
76 return singleton->text; |
76 return singleton->text; |
77 } |
77 } |
78 |
78 |
79 |
79 /* As the name of derived datatypes and POUs are still stored as identifiers in the respective datatype and POU declaration, */ |
80 void *create_enumtype_conversion_functions_c::visit(identifier_c *symbol) { |
80 /* only the indintifier_c visitor should be necessary! */ |
81 currentToken = symbol->value; |
81 void *create_enumtype_conversion_functions_c::visit( identifier_c *symbol) {currentToken = symbol->value; return NULL;} |
82 return NULL; |
82 void *create_enumtype_conversion_functions_c::visit( poutype_identifier_c *symbol) {ERROR; return NULL;} |
83 } |
83 void *create_enumtype_conversion_functions_c::visit(derived_datatype_identifier_c *symbol) {ERROR; return NULL;} |
|
84 |
84 |
85 |
85 /**********************/ |
86 /**********************/ |
86 /* B 1.3 - Data types */ |
87 /* B 1.3 - Data types */ |
87 /**********************/ |
88 /**********************/ |
88 /********************************/ |
89 /********************************/ |