Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
czpmango committed Apr 6, 2021
1 parent 1ddd7e9 commit aebb31f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/parser.yy
Original file line number Diff line number Diff line change
Expand Up @@ -1298,7 +1298,7 @@ match_clause
if ($4 && graph::ExpressionUtils::findAny($4->filter(),{Expression::Kind::kAggregate})) {
delete($4);
delete($3);
throw nebula::GraphParser::syntax_error(@3, "Invalid use of aggregating function "+$3->filter()->toString()+" in this context.");
throw nebula::GraphParser::syntax_error(@4, "Invalid use of aggregating function "+$4->filter()->toString()+" in this context.");
}
$$ = new MatchClause($3, $4, true);
}
Expand Down

0 comments on commit aebb31f

Please sign in to comment.