schemaparse: do not capture annotation strings
This commit is contained in:
parent
921acb6b21
commit
92c6eb16bb
|
@ -287,7 +287,7 @@ const parser = peg("Schema", p: ParseState):
|
||||||
Value <- Preserves.Value:
|
Value <- Preserves.Value:
|
||||||
discard
|
discard
|
||||||
|
|
||||||
Annotation <- '@' * (Preserves.String | Preserves.Record) * S
|
Annotation <- '@' * ('"' * *Preserves.char * '"' | Preserves.Record) * S
|
||||||
|
|
||||||
S <- *{ ' ', '\t', '\r', '\n' }
|
S <- *{ ' ', '\t', '\r', '\n' }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue