Merge remote-tracking branch 'upstream/master' into omega-dev-e13

This commit is contained in:
Quentin Guidée
2020-02-13 12:31:59 +01:00

View File

@@ -460,8 +460,9 @@ void Parser::parseCustomIdentifier(Expression & leftHandSide, const char * name,
}
bool poppedParenthesisIsSystem = false;
/* Check the context: if the identifier does not already exist as a function,
* interpret it as a symbol, even if there are parentheses afterwards. */
/* If symbolPlusParenthesesAreFunctions is false, check the context: if the
* identifier does not already exist as a function, interpret it as a symbol,
* even if there are parentheses afterwards. */
Context::SymbolAbstractType idType = Context::SymbolAbstractType::None;
if (m_context != nullptr && !symbolPlusParenthesesAreFunctions) {