Allow unquoted string arguments to start with . and -

This commit is contained in:
Evil Eye 2021-06-19 11:21:37 +02:00
parent b7886bc036
commit c1177d7ffe
4 changed files with 33 additions and 8 deletions

View file

@ -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())