absyntax_utils/search_varfb_instance_type.cc
changeset 1041 56ebe2a31b5b
parent 938 31e3b3f2eff1
--- a/absyntax_utils/search_varfb_instance_type.cc	Mon Apr 03 22:06:40 2017 +0100
+++ b/absyntax_utils/search_varfb_instance_type.cc	Mon Apr 03 22:18:22 2017 +0100
@@ -244,7 +244,7 @@
 
   /* now search the structure declaration */
   for(int i = 0; i < symbol->n; i++) {
-    symbol->elements[i]->accept(*this);
+    symbol->get_element(i)->accept(*this);
   }
 
   return NULL;