--- a/stage3/forced_narrow_candidate_datatypes.cc Mon Apr 03 22:06:40 2017 +0100
+++ b/stage3/forced_narrow_candidate_datatypes.cc Mon Apr 03 22:18:22 2017 +0100
@@ -161,7 +161,7 @@
void *forced_narrow_candidate_datatypes_c::visit(instruction_list_c *symbol) {
for(int j = 0; j < 2; j++) {
for(int i = symbol->n-1; i >= 0; i--) {
- symbol->elements[i]->accept(*this);
+ symbol->get_element(i)->accept(*this);
}
}
@@ -171,7 +171,7 @@
*/
/*
for(int i = symbol->n-1; i >= 0; i--) {
- if (NULL == symbol->elements[i]->datatype)
+ if (NULL == symbol->get_element(i)->datatype)
ERROR;
}
*/