replaced context-sensitive implementation of allowing digits at the beginning of names with a more general implementation (Fixes #1730)

(cherry picked from commit 4d94f38f4b)
This commit is contained in:
Marc Zinnschlag 2015-09-15 14:57:07 +02:00 committed by cc9cii
parent ae1439f223
commit a2294117cd
3 changed files with 22 additions and 21 deletions

View file

@ -65,7 +65,6 @@ namespace Compiler
if (mState==BeginState && keyword==Scanner::K_begin)
{
mState = NameState;
scanner.allowNameStartingwithDigit();
return true;
}
@ -112,7 +111,6 @@ namespace Compiler
scanner.scan (mScriptParser);
mState = EndNameState;
scanner.allowNameStartingwithDigit();
return true;
}