| 870 | } |
| 871 | |
| 872 | void cSemanticASTVisitor::PostCheck() |
| 873 | { |
| 874 | // Check all functions in the current scope level and make sure they have been defined |
| 875 | cSymbolTable::cFunctionIterator fit = m_global_symtbl->ActiveFunctionIterator(); |
| 876 | while (fit.Next()) if (!fit.HasCode()) |
| 877 | reportError(AS_SEMANTIC_ERR_FUNCTION_UNDEFINED, m_global_symtbl->GetFunctionDefinition(0)->GetFilePosition() |
| 878 | , __LINE__, (const char*)fit.GetName()); |
| 879 | } |
| 880 | |
| 881 | |
| 882 |
no test coverage detected