| 12963 | } |
| 12964 | |
| 12965 | ResultType Script::ConflictingDeclarationError(LPCTSTR aDeclType, Var *aExisting) |
| 12966 | { |
| 12967 | TCHAR buf[127]; |
| 12968 | sntprintf(buf, _countof(buf), _T("This %s declaration conflicts with an existing %s.") |
| 12969 | , aDeclType, VarKindForErrorMessage(aExisting)); |
| 12970 | return ScriptError(buf, aExisting->mName); |
| 12971 | } |
| 12972 | |
| 12973 | |
| 12974 | ResultType Line::ValidateVarUsage(Var *aVar, int aUsage) |
nothing calls this directly
no test coverage detected