| 12953 | |
| 12954 | |
| 12955 | LPCTSTR VarKindForErrorMessage(Var *aVar) |
| 12956 | { |
| 12957 | switch (aVar->Type()) |
| 12958 | { |
| 12959 | case VAR_VIRTUAL: return _T("built-in variable"); |
| 12960 | case VAR_CONSTANT: return aVar->Object()->Type(); |
| 12961 | default: return Var::DeclarationType(aVar->Scope()); |
| 12962 | } |
| 12963 | } |
| 12964 | |
| 12965 | ResultType Script::ConflictingDeclarationError(LPCTSTR aDeclType, Var *aExisting) |
| 12966 | { |
no test coverage detected