Fix bug-fix of previous commit.
authorMario de Sousa <msousa@fe.up.pt>
Fri, 20 Dec 2013 11:44:38 +0000
changeset 853 818c4ac5d64d
parent 852 efb44e892582
child 854 13d0b67de111
Fix bug-fix of previous commit.
stage4/generate_c/generate_c.cc
--- a/stage4/generate_c/generate_c.cc	Thu Dec 19 19:38:29 2013 +0000
+++ b/stage4/generate_c/generate_c.cc	Fri Dec 20 11:44:38 2013 +0000
@@ -376,6 +376,14 @@
     }
     
     
+    /*********************/
+    /* B 1.4 - Variables */
+    /*********************/
+    void *visit(symbolic_variable_c *symbol) {
+      contains_complex_type_res |= is_complex_type(symbol);
+      return NULL;
+    }
+    
     /*************************************/
     /* B.1.4.2   Multi-element Variables */
     /*************************************/