Skip to content

Commit 4fa44e8

Browse files
author
Ikko Eltociear Ashimine
authored
grammar-parser : fix typo (ggml-org#4318)
preceeding -> preceding
1 parent fbbc428 commit 4fa44e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/grammar-parser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ namespace grammar_parser {
190190
pos = parse_space(pos + 1, is_nested);
191191
} else if (*pos == '*' || *pos == '+' || *pos == '?') { // repetition operator
192192
if (last_sym_start == out_elements.size()) {
193-
throw std::runtime_error(std::string("expecting preceeding item to */+/? at ") + pos);
193+
throw std::runtime_error(std::string("expecting preceding item to */+/? at ") + pos);
194194
}
195195

196196
// apply transformation to previous symbol (last_sym_start to end) according to

0 commit comments

Comments
 (0)