mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[poincare/parser] Remove IsReservedName unused parameter
The function is only called in apps/shared/function.
This commit is contained in:
committed by
Léa Saviot
parent
ab80741838
commit
967343f75d
@@ -17,8 +17,8 @@ Expression Parser::parse() {
|
||||
return Expression();
|
||||
}
|
||||
|
||||
bool Parser::IsReservedName(const char * name, size_t nameLength, const Expression::FunctionHelper * const * * functionHelper) {
|
||||
return IsReservedFunctionName(name, nameLength, functionHelper)
|
||||
bool Parser::IsReservedName(const char * name, size_t nameLength) {
|
||||
return IsReservedFunctionName(name, nameLength)
|
||||
|| IsSpecialIdentifierName(name, nameLength);
|
||||
}
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ public:
|
||||
Expression parse();
|
||||
Status getStatus() const { return m_status; }
|
||||
|
||||
static bool IsReservedName(const char * name, size_t nameLength, const Expression::FunctionHelper * const * * functionHelper = nullptr);
|
||||
static bool IsReservedName(const char * name, size_t nameLength);
|
||||
|
||||
private:
|
||||
static bool IsReservedFunctionName(const char * name, size_t nameLength, const Expression::FunctionHelper * const * * functionHelper = nullptr);
|
||||
|
||||
Reference in New Issue
Block a user