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

(cherry picked from commit 435e52306a0b1a7ef4cf7059bbc388b3262d2631)
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;