allow x->(y) instead of (x->y)

actorid
Marc Zinnschlag 11 years ago
parent fd665a1994
commit 0d84adb2c6

@ -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…
Cancel
Save