schemaparse: do not capture annotations

This commit is contained in:
Emery Hemingway 2024-05-22 18:59:03 +03:00
parent 921acb6b21
commit 9d328b3d0c
1 changed files with 2 additions and 1 deletions

View File

@ -287,7 +287,8 @@ const parser = peg("Schema", p: ParseState):
Value <- Preserves.Value:
discard
Annotation <- '@' * (Preserves.String | Preserves.Record) * S
Annotation <- '@' * (Preserves.String | Preserves.Record) * S:
discard
S <- *{ ' ', '\t', '\r', '\n' }