mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-06 13:15:33 +00:00
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 (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)
|
||||
{
|
||||
mRefOp = true;
|
||||
|
|
Loading…
Reference in a new issue