aboutsummaryrefslogtreecommitdiff
path: root/nomsu.peg
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-04-17 14:47:28 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-04-17 14:47:42 -0700
commitb589c23741c3111c151c0fecc7e299fd321c13a1 (patch)
tree3468eee84708d8a53c69ae3a5734ff9b022aa734 /nomsu.peg
parent26d0de8299c7568152f479320444833b4d30d0eb (diff)
Disabled comment transpilation for now.
Diffstat (limited to 'nomsu.peg')
-rw-r--r--nomsu.peg4
1 files changed, 2 insertions, 2 deletions
diff --git a/nomsu.peg b/nomsu.peg
index 462e03e..bf2c639 100644
--- a/nomsu.peg
+++ b/nomsu.peg
@@ -107,8 +107,8 @@ inline_dict_item:
dict_key:
(({} ({|{%operator / (!number plain_word)}|} -> Tuple) {}) -> Text) / inline_expression
-block_comment(Comment): "#.." { [^%nl]* (%nl+ %indent [^%nl]* (%nl+ %nodent [^%nl]*)* %dedent)? }
-line_comment(Comment): "#" { [^%nl]* }
+block_comment: "#.." [^%nl]* (%nl+ %indent [^%nl]* (%nl+ %nodent [^%nl]*)* %dedent)?
+line_comment: "#" [^%nl]*
eol: %ws* line_comment? (!. / &%nl)
ignored_line: (%nodent (block_comment / line_comment)) / (%ws* (!. / &%nl))