patterns: Fix type operators not working correctly

This commit is contained in:
WerWolv 2021-08-02 12:08:54 +02:00
parent 2c71f61bfc
commit 132164c3de

View file

@ -84,7 +84,7 @@ namespace hex::lang {
else else
throwParseError("expected member name or 'parent' keyword", -1); throwParseError("expected member name or 'parent' keyword", -1);
} else } else
return TO_NUMERIC_EXPRESSION(new ASTNodeRValue(path)); return new ASTNodeRValue(path);
} }
// <Integer|((parseMathematicalExpression))> // <Integer|((parseMathematicalExpression))>