stage4/generate_c/generate_var_list.cc
changeset 805 b737cfc92614
parent 793 268bf4ca5fa1
child 810 d9c48ad646f1
--- a/stage4/generate_c/generate_var_list.cc	Sun Jan 13 16:06:00 2013 +0000
+++ b/stage4/generate_c/generate_var_list.cc	Tue Jan 22 16:07:49 2013 +0000
@@ -731,7 +731,7 @@
       /* Start off by setting the current_var_type_symbol and
        * current_var_init_symbol private variables...
        */
-      update_var_type_symbol(symbol->type);
+      update_var_type_symbol(symbol->type_decl);
 
       /* now to produce the c equivalent... */
       declare_variable(symbol->name);