stage1_2/create_enumtype_conversion_functions.cc
changeset 1041 56ebe2a31b5b
parent 958 7474d2cd1d6e
equal deleted inserted replaced
1040:e8563dcaefca 1041:56ebe2a31b5b
   117     list_c *list;
   117     list_c *list;
   118 
   118 
   119     currentTokenList.clear();
   119     currentTokenList.clear();
   120     list = (list_c *)symbol;
   120     list = (list_c *)symbol;
   121     for (int i = 0; i < list->n; i++) {
   121     for (int i = 0; i < list->n; i++) {
   122         list->elements[i]->accept(*this);
   122         list->get_element(i)->accept(*this);
   123         currentTokenList.push_back(currentToken);
   123         currentTokenList.push_back(currentToken);
   124     }
   124     }
   125 
   125 
   126     return NULL;
   126     return NULL;
   127 }
   127 }