mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 18:19:55 +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
1 changed files with 1 additions and 1 deletions
|
@ -791,7 +791,7 @@ namespace Compiler
|
||||||
if (*iter=='c') stringParser.smashCase();
|
if (*iter=='c') stringParser.smashCase();
|
||||||
scanner.scan (stringParser);
|
scanner.scan (stringParser);
|
||||||
|
|
||||||
if (optional && stringParser.isEmpty())
|
if ((optional || *iter=='x') && stringParser.isEmpty())
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if (*iter!='x')
|
if (*iter!='x')
|
||||||
|
|
Loading…
Reference in a new issue