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

@ -29,7 +29,7 @@ bool Compiler::JunkParser::parseName (const std::string& name, const TokenLoc& l
bool Compiler::JunkParser::parseKeyword (int keyword, const TokenLoc& loc, Scanner& scanner)
{
if (keyword==mIgnoreKeyword)
reportWarning ("found junk (ignoring it)", loc);
reportWarning ("ignoring found junk", loc);
else
scanner.putbackKeyword (keyword, loc);
@ -39,7 +39,7 @@ bool Compiler::JunkParser::parseKeyword (int keyword, const TokenLoc& loc, Scann
bool Compiler::JunkParser::parseSpecial (int code, const TokenLoc& loc, Scanner& scanner)
{
if (code==Scanner::S_member)
reportWarning ("found junk (ignoring it)", loc);
reportWarning ("ignoring found junk", loc);
else
scanner.putbackSpecial (code, loc);