Treat commas in scripts as whitespace

This commit is contained in:
Evil Eye 2021-11-13 14:06:21 +01:00
parent 9a00984561
commit bee94e2afc
12 changed files with 36 additions and 101 deletions

View file

@ -531,8 +531,6 @@ namespace Compiler
else
special = S_cmpGT;
}
else if (c==',')
special = S_comma;
else if (c=='+')
special = S_plus;
else if (c=='*')
@ -552,8 +550,6 @@ namespace Compiler
mTolerantNames = tolerant;
return out;
}
else if (expectName && special == S_comma)
mExpectName = true;
TokenLoc loc (mLoc);
mLoc.mLiteral.clear();