forked from mirror/openmw-tes3mp
allow x->(y) instead of (x->y)
This commit is contained in:
parent
fd665a1994
commit
0d84adb2c6
1 changed files with 8 additions and 0 deletions
|
@ -570,6 +570,14 @@ namespace Compiler
|
||||||
{
|
{
|
||||||
if (!mExplicit.empty())
|
if (!mExplicit.empty())
|
||||||
{
|
{
|
||||||
|
if (mRefOp && code==Scanner::S_open)
|
||||||
|
{
|
||||||
|
/// \todo add option to disable this workaround
|
||||||
|
mOperators.push_back ('(');
|
||||||
|
mTokenLoc = loc;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
if (!mRefOp && code==Scanner::S_ref)
|
if (!mRefOp && code==Scanner::S_ref)
|
||||||
{
|
{
|
||||||
mRefOp = true;
|
mRefOp = true;
|
||||||
|
|
Loading…
Reference in a new issue