mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Tweaks to script parser messages and pathgrid warnings
This commit is contained in:
parent
5a86554f97
commit
95aa05e41b
6 changed files with 25 additions and 27 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue