We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbbc428 commit 4fa44e8Copy full SHA for 4fa44e8
common/grammar-parser.cpp
@@ -190,7 +190,7 @@ namespace grammar_parser {
190
pos = parse_space(pos + 1, is_nested);
191
} else if (*pos == '*' || *pos == '+' || *pos == '?') { // repetition operator
192
if (last_sym_start == out_elements.size()) {
193
- throw std::runtime_error(std::string("expecting preceeding item to */+/? at ") + pos);
+ throw std::runtime_error(std::string("expecting preceding item to */+/? at ") + pos);
194
}
195
196
// apply transformation to previous symbol (last_sym_start to end) according to
0 commit comments