aboutsummaryrefslogtreecommitdiff
path: root/nomsu.peg
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-04-24 20:16:46 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-04-24 20:17:08 -0700
commitbff93d386c1d54504f0b8c930f246966d307a9e5 (patch)
tree4e5a7cab137ab92c8790e8fc6878b55bf90dfdce /nomsu.peg
parent34a2f50ebc8b1d564b0061b5093b2736e365b29a (diff)
Refactor to improve indentation and move as_nomsu() into tree methods.
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 bf2c639..e4ca686 100644
--- a/nomsu.peg
+++ b/nomsu.peg
@@ -5,7 +5,7 @@ file (File):
(%nl ignored_line)*
(!. / (("" -> "Parse error") => error)?) |} -> Tuple
-shebang: "#!" [^%nl]* %nl
+shebang: "#!" [^%nl]* (!. / %nl)
statement: action / expression