| 1007 | |
| 1008 | |
| 1009 | inline bool cSemanticASTVisitor::lookupFunction(const cString& name, int& fun_id, bool& global) const |
| 1010 | { |
| 1011 | if (m_cur_symtbl->LookupFunction(name, fun_id)) { |
| 1012 | global = false; |
| 1013 | return true; |
| 1014 | } else if (m_cur_symtbl != m_global_symtbl && m_global_symtbl->LookupFunction(name, fun_id)) { |
| 1015 | global = true; |
| 1016 | return true; |
| 1017 | } |
| 1018 | |
| 1019 | return false; |
| 1020 | } |
| 1021 | |
| 1022 | |
| 1023 |
nothing calls this directly
no test coverage detected