stage4/generate_c/generate_c_base.cc
changeset 958 7474d2cd1d6e
parent 947 aca1ab9fcb6d
child 966 cd7fa00ad774
--- a/stage4/generate_c/generate_c_base.cc	Sun Nov 30 12:49:42 2014 +0000
+++ b/stage4/generate_c/generate_c_base.cc	Sat Dec 06 19:11:32 2014 +0000
@@ -327,7 +327,8 @@
 /*******************************************/
 /* B 1.1 - Letters, digits and identifiers */
 /*******************************************/
-    void *visit(identifier_c *symbol) {return print_token(symbol);}
+    void *visit(                 identifier_c *symbol) {return print_token(symbol);}
+    void *visit(         poutype_identifier_c *symbol) {return print_token(symbol);}
     /* If you need the derived_datatype_identifier_c visitor, then you should probably be 
      * inheriting from generate_c_base_and_typeid_c and not generate_c_base_c !!
      */
@@ -951,7 +952,7 @@
   if (1  < implicit_id_count) ERROR;
   if (1 == implicit_id_count)
     return symbol->anotations_map["generate_c_annotaton__implicit_type_id"]->accept(*this);
-  return symbol->ref_spec->accept(*this); // this is probably pointing to an identifier_c !!
+  return symbol->ref_spec->accept(*this); // this is probably pointing to an ***_identifier_c !!
 }
 
 /* ref_type_decl: identifier ':' ref_spec_init */