mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
improved handling of extra arguments in DiscardParser
This commit is contained in:
parent
f9607a47b3
commit
46e32de350
3 changed files with 32 additions and 2 deletions
|
@ -832,7 +832,7 @@ namespace Compiler
|
|||
if (discardParser.isEmpty())
|
||||
break;
|
||||
else
|
||||
getErrorHandler().warning("Ignoring extra argument", mTokenLoc);
|
||||
getErrorHandler().warning("Ignoring extra argument", discardParser.getTokenLoc());
|
||||
}
|
||||
else if (*iter=='j')
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue