Skip to content

Commit

Permalink
misc: revise diagnostic message.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashigeru committed Aug 27, 2024
1 parent fcb34eb commit 2f70283
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mizugaki/parser/sql_tree_validator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class engine {
result_ = sql_parser_diagnostic {
sql_parser_code::exceed_number_of_elements,
string_builder {}
<< "the number of syntax elements is exceeded the limit: "
<< "exceeds the max number of elements in the SQL syntax tree: "
<< "count=" << node_count_
<< ", kind=" << element.node_kind()
<< string_builder::to_string,
Expand All @@ -79,7 +79,7 @@ class engine {
result_ = sql_parser_diagnostic {
sql_parser_code::exceed_number_of_elements,
string_builder {}
<< "depth of the SQL syntax tree is too deep: "
<< "exceeds the max depth of the SQL syntax tree: "
<< "depth=" << depth
<< ", kind=" << element.node_kind()
<< string_builder::to_string,
Expand Down

0 comments on commit 2f70283

Please sign in to comment.