mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Allow unquoted string arguments to start with . and -
This commit is contained in:
parent
b7886bc036
commit
c1177d7ffe
4 changed files with 33 additions and 8 deletions
|
@ -669,6 +669,7 @@ namespace Compiler
|
|||
|
||||
if (argument=='c') stringParser.smashCase();
|
||||
if (argument=='x') stringParser.discard();
|
||||
scanner.enableExpectName();
|
||||
scanner.scan (stringParser);
|
||||
|
||||
if ((optional || argument=='x') && stringParser.isEmpty())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue