stage4/generate_cc/search_expression_type.cc
changeset 22 08bcc40be1fa
parent 17 38754701ac41
child 32 289256ec66f1
--- a/stage4/generate_cc/search_expression_type.cc	Fri Apr 06 18:07:56 2007 +0200
+++ b/stage4/generate_cc/search_expression_type.cc	Wed Apr 18 16:43:18 2007 +0200
@@ -117,6 +117,29 @@
     return NULL;
   }
 
+/*************************************/
+/* B 1.4.2 - Multi-element variables */
+/*************************************/
+
+  void *visit(array_variable_c *symbol) {
+    symbol_c *res;
+    
+    /* Nope, now we assume it is a variable, and determine its type... */
+    res = search_varfb_instance_type->get_type(symbol);
+    if (NULL != res) return res;
+    
+    return NULL;
+  }
+
+  void *visit(structured_variable_c *symbol) {
+    symbol_c *res;
+    
+    /* Nope, now we assume it is a variable, and determine its type... */
+    res = search_varfb_instance_type->get_type(symbol);
+    if (NULL != res) return res;
+    
+    return NULL;
+  }
 
 /***************************************/
 /* B.3 - Language ST (Structured Text) */