diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-01-26 14:53:02 -0800 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-01-26 14:53:30 -0800 |
| commit | 53c735be55aee97716986ed704f1058e43abd7a2 (patch) | |
| tree | ce13dd536b687cda302a9092edbc2d1eb64e776f /nomsu.peg | |
| parent | 0c0fb9838989ce6eff885b12716d3e89ba52f4e6 (diff) | |
Removed "\.." syntax, and just added support for the literal ".." as
long as it's not followed by an indented region.
Diffstat (limited to 'nomsu.peg')
| -rw-r--r-- | nomsu.peg | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -36,9 +36,9 @@ functioncall (FunctionCall): word (Word): { %operator / (!number plain_word) } inline_text (Text): - !('".."') + !('".."' %ws* line_comment? %nl (%ws* %nl)* %gt_nodent) '"' {| - ({~ (('\"' -> '"') / ('\\' -> '\') / ('\..' -> '..') / %escaped_char / [^%nl\"])+ ~} + ({~ (('\"' -> '"') / ('\\' -> '\') / %escaped_char / [^%nl\"])+ ~} / text_interpolation)* |} '"' indented_text (Text): |
