mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-11-01 09:01:57 +00:00
grammar : remove one nested level
This commit is contained in:
@@ -5,10 +5,10 @@ root ::= arr
|
||||
value ::= object | array | string | number | ("true" | "false" | "null") ws
|
||||
|
||||
arr ::=
|
||||
"{\n\t[\n" ws (
|
||||
"[\n" ws (
|
||||
value
|
||||
(",\n" ws value)*
|
||||
)? "\t]\n}"
|
||||
)? "]"
|
||||
|
||||
object ::=
|
||||
"{" ws (
|
||||
|
||||
Reference in New Issue
Block a user