equal
deleted
inserted
replaced
639 return NULL; |
639 return NULL; |
640 } |
640 } |
641 /* This is NOT part of an implicitly declared datatype (i.e. we are being called from an visit(ref_type_decl_c *), |
641 /* This is NOT part of an implicitly declared datatype (i.e. we are being called from an visit(ref_type_decl_c *), |
642 * through the visit(ref_spec_init_c*)), so we need to simply print out the name of the datatype we reference to. |
642 * through the visit(ref_spec_init_c*)), so we need to simply print out the name of the datatype we reference to. |
643 */ |
643 */ |
644 return symbol->type_name->accept(*this); |
644 symbol->type_name->accept(*this); |
|
645 s4o_incl.print("*"); |
|
646 return NULL; |
645 } |
647 } |
646 |
648 |
647 /* For the moment, we do not support initialising reference data types */ |
649 /* For the moment, we do not support initialising reference data types */ |
648 /* ref_spec_init: ref_spec [ ASSIGN ref_initialization ] */ |
650 /* ref_spec_init: ref_spec [ ASSIGN ref_initialization ] */ |
649 /* NOTE: ref_initialization may be NULL!! */ |
651 /* NOTE: ref_initialization may be NULL!! */ |