diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-04-17 14:47:28 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-04-17 14:47:42 -0700 |
| commit | b589c23741c3111c151c0fecc7e299fd321c13a1 (patch) | |
| tree | 3468eee84708d8a53c69ae3a5734ff9b022aa734 /nomsu.peg | |
| parent | 26d0de8299c7568152f479320444833b4d30d0eb (diff) | |
Disabled comment transpilation for now.
Diffstat (limited to 'nomsu.peg')
| -rw-r--r-- | nomsu.peg | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)) |
