mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-21 09:39:56 +00:00
Don't report warning about extra arguments, if there are no extra arguments (Fixes #3133)
This commit is contained in:
parent
466f91db67
commit
210c77968a
@ -791,7 +791,7 @@ namespace Compiler
|
||||
if (*iter=='c') stringParser.smashCase();
|
||||
scanner.scan (stringParser);
|
||||
|
||||
if (optional && stringParser.isEmpty())
|
||||
if ((optional || *iter=='x') && stringParser.isEmpty())
|
||||
break;
|
||||
|
||||
if (*iter!='x')
|
||||
|
Loading…
x
Reference in New Issue
Block a user