MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / ConflictingDeclarationError

Method ConflictingDeclarationError

source/script.cpp:12965–12971  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12963}
12964
12965ResultType 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
12974ResultType Line::ValidateVarUsage(Var *aVar, int aUsage)

Callers

nothing calls this directly

Calls 2

sntprintfFunction · 0.85
VarKindForErrorMessageFunction · 0.85

Tested by

no test coverage detected