# HG changeset patch # User Mario de Sousa # Date 1328725981 0 # Node ID 0e09a8840c92efe9c9f76adc61dec97043128af0 # Parent f9fd63f64f5ca20dd2d53a6c2ba19020606bd62a Add TODO comment, and delete unused debugging code. diff -r f9fd63f64f5c -r 0e09a8840c92 stage3/fill_candidate_datatypes.cc --- a/stage3/fill_candidate_datatypes.cc Wed Feb 08 18:27:45 2012 +0000 +++ b/stage3/fill_candidate_datatypes.cc Wed Feb 08 18:33:01 2012 +0000 @@ -416,6 +416,7 @@ /* B 1.2.3.1 - Duration */ /************************/ void *fill_candidate_datatypes_c::visit(duration_c *symbol) { + /* TODO: check whether the literal follows the rules specified in section '2.2.3.1 Duration' of the standard! */ symbol->candidate_datatypes.push_back(symbol->type_name); if (debug) std::cout << "TIME_LITERAL [" << symbol->candidate_datatypes.size() << "]\n"; return NULL; @@ -551,9 +552,7 @@ if (NULL != result) symbol->candidate_datatypes.push_back(result); /* recursively call the subscript list, so we can check the data types of the expressions used for the subscripts */ -if (debug) std::cout << "ARRAY_VAR XXX\n"; symbol->subscript_list->accept(*this); -if (debug) std::cout << "ARRAY_VAR YYY\n"; if (debug) std::cout << "ARRAY_VAR [" << symbol->candidate_datatypes.size() << "]\n"; return NULL;