From c23ad0c8825dc201dd7dbc5b6b73382effb11ed0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9a=20Saviot?= Date: Wed, 12 Feb 2020 17:09:40 +0100 Subject: [PATCH] [poincare/parser] Fix a comment --- poincare/src/parsing/parser.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/poincare/src/parsing/parser.cpp b/poincare/src/parsing/parser.cpp index 79c33df29..c5671b602 100644 --- a/poincare/src/parsing/parser.cpp +++ b/poincare/src/parsing/parser.cpp @@ -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) {