# HG changeset patch
# User Mario de Sousa <msousa@fe.up.pt>
# Date 1387539878 0
# Node ID 818c4ac5d64d01bb763ede6aefde028fac8793f2
# Parent  efb44e892582c9c6539cbcb51a26f5c0d208d096
Fix bug-fix of previous commit.

diff -r efb44e892582 -r 818c4ac5d64d 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 */
     /*************************************/