Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spec/message.abnf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ simple-start = simple-start-char / escaped-char / placeholder
pattern = *(text-char / escaped-char / placeholder)
placeholder = expression / markup

complex-message = *(declaration [s]) complex-body
complex-message = *(declaration [s]) complex-body [s]
declaration = input-declaration / local-declaration / reserved-statement
complex-body = quoted-pattern / matcher

Expand Down
2 changes: 1 addition & 1 deletion spec/syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ and consists of:
2. a _complex body_

```abnf
complex-message = *(declaration [s]) complex-body
complex-message = *(declaration [s]) complex-body [s]
```

### Declarations
Expand Down
5 changes: 5 additions & 0 deletions test/tests/syntax.json
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,11 @@
"type": "unsupported-statement"
}
]
},
{
"src": "{{trailing whitespace}} \n",
"expCleanSrc": "trailing whitespace",
"exp": "trailing whitespace"
}
]
}