stage1_2/create_enumtype_conversion_functions.cc
changeset 1041 56ebe2a31b5b
parent 958 7474d2cd1d6e
--- a/stage1_2/create_enumtype_conversion_functions.cc	Mon Apr 03 22:06:40 2017 +0100
+++ b/stage1_2/create_enumtype_conversion_functions.cc	Mon Apr 03 22:18:22 2017 +0100
@@ -119,7 +119,7 @@
     currentTokenList.clear();
     list = (list_c *)symbol;
     for (int i = 0; i < list->n; i++) {
-        list->elements[i]->accept(*this);
+        list->get_element(i)->accept(*this);
         currentTokenList.push_back(currentToken);
     }