mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-01 22:38:00 +03:00
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:
parent
ae1439f223
commit
a2294117cd
3 changed files with 22 additions and 21 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue