aboutsummaryrefslogtreecommitdiff
path: root/nomsu.peg
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-05-30 13:10:56 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-05-30 13:11:05 -0700
commitaeceba800b9cf489291127f5b3501e6478c6ed77 (patch)
tree78d04af9e3a476eae3f8d5a2fb3432b6dc18a51c /nomsu.peg
parentf9229c5e91ee505cefd48935c84d82f607110284 (diff)
Deleted shebang rule. Comments handle it just fine.
Diffstat (limited to 'nomsu.peg')
-rw-r--r--nomsu.peg3
1 files changed, 0 insertions, 3 deletions
diff --git a/nomsu.peg b/nomsu.peg
index 0e782e9..cab5dfb 100644
--- a/nomsu.peg
+++ b/nomsu.peg
@@ -1,12 +1,9 @@
file:
- shebang?
(ignored_line %nl)*
(block / action / expression)?
(%nl ignored_line)*
(!. / (({} (.* -> "Parse error") %userdata) => error))
-shebang: "#!" [^%nl]* (!. / %nl)
-
inline_block (Block):
{| inline_statement (%ws* ";" %ws* inline_statement)+ |}
block (Block):