absyntax_utils/function_param_iterator.cc
changeset 805 b737cfc92614
parent 662 b1b11dd09a54
child 810 d9c48ad646f1
--- a/absyntax_utils/function_param_iterator.cc	Sun Jan 13 16:06:00 2013 +0000
+++ b/absyntax_utils/function_param_iterator.cc	Tue Jan 22 16:07:49 2013 +0000
@@ -427,9 +427,9 @@
    * variables will get overwritten when we visit the next
    * var1_init_decl_c list!
    */
-  current_param_default_value = symbol->value;
-  current_param_type = symbol->type;
-
+  current_param_default_value = spec_init_sperator_c::get_init(symbol->type_decl);
+  current_param_type = spec_init_sperator_c::get_spec(symbol->type_decl);
+  
   void *res = handle_single_param(symbol->name);
   
     /* If we have found the parameter we will be returning, we set the en_eno_param_implicit to TRUE if implicitly defined */