From 17822c6366c7575a85fadcfa2822f41d2aad6e0f Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 18 Jan 2019 20:40:18 -0800 Subject: Fixed an edge case with indentation --- nomsu.3.peg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nomsu.3.peg') diff --git a/nomsu.3.peg b/nomsu.3.peg index df29772..9daaa35 100644 --- a/nomsu.3.peg +++ b/nomsu.3.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? -- cgit v1.2.3