mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Treat commas in scripts as whitespace
This commit is contained in:
parent
9a00984561
commit
bee94e2afc
12 changed files with 36 additions and 101 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue