stage3/fill_candidate_datatypes.cc
changeset 732 f6a46e29853b
parent 729 3840cb4a623a
child 733 246b4ef78da6
--- a/stage3/fill_candidate_datatypes.cc	Wed Nov 14 18:37:42 2012 +0000
+++ b/stage3/fill_candidate_datatypes.cc	Wed Nov 14 18:39:02 2012 +0000
@@ -1137,11 +1137,12 @@
 /******************************************/
 
 void *fill_candidate_datatypes_c::visit(var1_list_c *symbol) {
-#if 0   /* We don't really need to set the datatype of each variable. We just check the declaration itself! */
   for(int i = 0; i < symbol->n; i++) {
-    add_datatype_to_candidate_list(symbol->elements[i], search_varfb_instance_type->get_basetype_decl(symbol->elements[i])); /* will only add if non NULL */
+    /* We don't really need to set the datatype of each variable. We just check the declaration itself! 
+    add_datatype_to_candidate_list(symbol->elements[i], search_varfb_instance_type->get_basetype_decl(symbol->elements[i])); // will only add if non NULL 
+    */
+    symbol->elements[i]->accept(*this); // handle the extensible_input_parameter_c, etc...
   }
-#endif
   return NULL;
 }