aboutsummaryrefslogtreecommitdiff
path: root/nomsu.5.peg
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-01-18 20:40:18 -0800
committerBruce Hill <bruce@bruce-hill.com>2019-01-18 20:40:18 -0800
commit17822c6366c7575a85fadcfa2822f41d2aad6e0f (patch)
tree7bdd88ba1fba316025dbb11644458bb569ad3d8f /nomsu.5.peg
parentab116d4d8fc07332710c912c0bb3c3243a387504 (diff)
Fixed an edge case with indentation
Diffstat (limited to 'nomsu.5.peg')
-rw-r--r--nomsu.5.peg2
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu.5.peg b/nomsu.5.peg
index 2ecc800..9886132 100644
--- a/nomsu.5.peg
+++ b/nomsu.5.peg
@@ -17,7 +17,7 @@ file_chunks (FileChunks) <-
ws* unexpected_chunk?
top_block (Block) <-
- (comment nl_nodent)? statement (nl_nodent statement)*
+ ((blank_lines nodent) / (comment nl_nodent))? statement (nl_nodent statement)*
empty_block (Block) <-
comment? blank_lines?