Tweaks to script parser messages and pathgrid warnings

This commit is contained in:
Capostrophic 2018-09-16 16:47:33 +03:00
parent 5a86554f97
commit 95aa05e41b
6 changed files with 25 additions and 27 deletions

View file

@ -24,7 +24,7 @@ bool Compiler::DeclarationParser::parseName (const std::string& name, const Toke
if (type!=' ')
{
/// \todo add option to make re-declared local variables an error
getErrorHandler().warning ("can't re-declare local variable (ignoring declaration)",
getErrorHandler().warning ("ignoring local variable re-declaration",
loc);
mState = State_End;