aboutsummaryrefslogtreecommitdiff
path: root/nomsu.2.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.2.peg
parentab116d4d8fc07332710c912c0bb3c3243a387504 (diff)
Fixed an edge case with indentation
Diffstat (limited to 'nomsu.2.peg')
-rw-r--r--nomsu.2.peg2
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu.2.peg b/nomsu.2.peg
index 3b98a20..49d4aaf 100644
--- a/nomsu.2.peg
+++ b/nomsu.2.peg
@@ -15,7 +15,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?