* Fix unicode in grammars (fixes #2501) * add more comments * fix test-llama-grammar
This commit is contained in:
parent
10151bee2e
commit
604b8bdfa6
2 changed files with 135 additions and 28 deletions
|
@ -199,7 +199,7 @@ int main()
|
|||
uint32_t *cp = new uint32_t[2]; // dynamically allocate memory for code_point
|
||||
cp[0] = 37 + i;
|
||||
cp[1] = 0;
|
||||
next_candidates[i] = {i, cp};
|
||||
next_candidates[i] = {i, cp, {}};
|
||||
}
|
||||
|
||||
std::vector<std::vector<std::pair<uint32_t, uint16_t>>> expected_reject = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue