1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-31 23:45:35 +00:00

adjusted a workaround for names starting with digits that interfered with some numerical expressions written without spaces

(cherry picked from commit 435e52306a)
This commit is contained in:
Marc Zinnschlag 2015-09-26 11:34:46 +02:00 committed by cc9cii
parent c5235ea794
commit 4677560859

View file

@ -175,7 +175,7 @@ namespace Compiler
{ {
value += c; value += c;
} }
else if (isStringCharacter (c)) else if (c!='-' && isStringCharacter (c))
{ {
error = true; error = true;
value += c; value += c;