mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 22:45:15 -04:00
ExprParser: Warn about ignored arguments
This commit is contained in:
parent
84a9df9793
commit
f375d07c16
@ -804,6 +804,8 @@ namespace Compiler
|
||||
if (optional)
|
||||
++optionalCount;
|
||||
}
|
||||
else
|
||||
getErrorHandler().warning("Ignoring extra argument", mTokenLoc);
|
||||
}
|
||||
else if (*iter=='X')
|
||||
{
|
||||
@ -815,6 +817,8 @@ namespace Compiler
|
||||
|
||||
if (parser.isEmpty())
|
||||
break;
|
||||
else
|
||||
getErrorHandler().warning("Ignoring extra argument", mTokenLoc);
|
||||
}
|
||||
else if (*iter=='z')
|
||||
{
|
||||
@ -825,6 +829,8 @@ namespace Compiler
|
||||
|
||||
if (discardParser.isEmpty())
|
||||
break;
|
||||
else
|
||||
getErrorHandler().warning("Ignoring extra argument", mTokenLoc);
|
||||
}
|
||||
else if (*iter=='j')
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user