Skip to content
Snippets Groups Projects
Unverified Commit e11c5841 authored by Shylock Hg's avatar Shylock Hg Committed by GitHub
Browse files

Avoid null parameter. (#898)


Co-authored-by: default avatarYee <2520865+yixinglu@users.noreply.github.com>
parent 71728f3b
No related branches found
No related tags found
No related merge requests found
......@@ -864,7 +864,7 @@ function_call_expression
: LABEL L_PAREN opt_argument_list R_PAREN {
if (!$3) {
if (FunctionManager::find(*$1, 0).ok()) {
$$ = new FunctionCallExpression($1, $3);
$$ = new FunctionCallExpression($1);
} else {
throw nebula::GraphParser::syntax_error(@1, "Unknown function ");
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment