Skip to content

Commit

Permalink
grammars: nit
Browse files Browse the repository at this point in the history
  • Loading branch information
ochafik committed Apr 12, 2024
1 parent de0fd3f commit 438bbad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/grammar-parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ namespace grammar_parser {
pos++;
}
if (pos == src) {
throw std::runtime_error(std::string("expecting name at ") + src);
throw std::runtime_error(std::string("expecting integer at ") + src);
}
return pos;
}
Expand Down

0 comments on commit 438bbad

Please sign in to comment.