diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-01-18 15:18:49 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-01-18 15:18:49 -0800 |
| commit | 32b258868ccd35b6fce3cf5fa6221da74868bc0b (patch) | |
| tree | 52a4a5d6c953332485dd5958a956b424102287cf /nomsu.5.peg | |
| parent | d92685ab9502ccb173999dbe2d95fe0658cd5dff (diff) | |
Fix for parsing an indented top_block that starts with a comment and has
code after it.
Diffstat (limited to 'nomsu.5.peg')
| -rw-r--r-- | nomsu.5.peg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu.5.peg b/nomsu.5.peg index 751e033..2ecc800 100644 --- a/nomsu.5.peg +++ b/nomsu.5.peg @@ -17,7 +17,7 @@ file_chunks (FileChunks) <- ws* unexpected_chunk? top_block (Block) <- - comment? blank_lines? statement (nl_nodent statement)* + (comment nl_nodent)? statement (nl_nodent statement)* empty_block (Block) <- comment? blank_lines? |
