allow /- at the very beginning of a document

This commit is contained in:
Kat Marchán 2024-02-12 22:58:27 -08:00
parent 921211782f
commit 631ec14059
No known key found for this signature in database
GPG Key ID: AEB529C08A3C7E9E
3 changed files with 4 additions and 1 deletions

View File

@ -706,7 +706,7 @@ language syntax](#grammar-language) is defined below.
```
document := bom? nodes
nodes := (line-space* node)* line-space*
nodes := ('/-' plain-node-space* node)? (line-space* node)* line-space*
plain-line-space := newline | ws | single-line-comment
plain-node-space := ws* escline ws* | ws+

View File

@ -0,0 +1 @@
another-node

View File

@ -0,0 +1,2 @@
/-node here
another-node