forked from teamnwah/openmw-tes3coop
naked expressions beginning with the member operator were allowed erroneously outside of the console (Fixes issue #2971)
This commit is contained in:
parent
296ad8424e
commit
565922f9ad
1 changed files with 1 additions and 1 deletions
|
@ -512,7 +512,7 @@ namespace Compiler
|
|||
return true;
|
||||
}
|
||||
|
||||
if (code==Scanner::S_member && mState==PotentialExplicitState)
|
||||
if (code==Scanner::S_member && mState==PotentialExplicitState && mAllowExpression)
|
||||
{
|
||||
mState = MemberState;
|
||||
parseExpression (scanner, loc);
|
||||
|
|
Loading…
Reference in a new issue