aboutsummaryrefslogtreecommitdiff
path: root/nomsu.peg
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-04-25 16:30:49 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-04-25 16:31:09 -0700
commit5d59d510cd6fdc8553250e5ec10f19a285e8878c (patch)
tree69d9a2646ed59746500fc9c62a04294a1019d381 /nomsu.peg
parent50a092e4b5cb82131c0c8f6f46c7d21a42198858 (diff)
Removing end-of-line ":" and "(..)" for blocks (they just use
indentation now).
Diffstat (limited to 'nomsu.peg')
-rw-r--r--nomsu.peg2
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu.peg b/nomsu.peg
index 7e72011..af65d93 100644
--- a/nomsu.peg
+++ b/nomsu.peg
@@ -10,7 +10,7 @@ shebang: "#!" [^%nl]* (!. / %nl)
statement: action / expression
indented_block (Block):
- {| (":" / "(..)")? indent
+ {| indent
statement (nodent statement)*
(dedent / (("" -> "Error while parsing block") => error))
|} -> Tuple