mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-29 05:17:58 +03:00
allow . and - in the name part of a begin script statement, but not at the beginning of a name. Fixes #4061
This commit is contained in:
parent
dd5ebe225b
commit
2dff3aab22
3 changed files with 15 additions and 2 deletions
|
@ -63,6 +63,7 @@ namespace Compiler
|
|||
if (mState==BeginState && keyword==Scanner::K_begin)
|
||||
{
|
||||
mState = NameState;
|
||||
scanner.enableTolerantNames(); /// \todo disable
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue