diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2017-09-29 22:04:03 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2017-09-29 22:04:03 -0700 |
| commit | e2bbbfe1611f12b33692af175d661fa25b2cc616 (patch) | |
| tree | 1554068e8702612cbd86c4898059babe6b3e96dd /nomsu.lua | |
| parent | 723a4c38710e24ef82c2142d126e6cec48091494 (diff) | |
More stuff is working more better.
Diffstat (limited to 'nomsu.lua')
| -rw-r--r-- | nomsu.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -95,7 +95,8 @@ local nomsu = [=[ file <- ({ {| shebang? word <- ({ !number {%wordchar (!"'" %wordchar)*} }) -> Word inline_string <- ({ '"' {| - ({~ (("\\" -> "\") / ('\"' -> '"') / (!string_interpolation [^%nl"]))+ ~} + ({~ (("\\" -> "\") / ('\"' -> '"') / ("\n" -> " +") / (!string_interpolation [^%nl"]))+ ~} / string_interpolation)* |} '"' }) -> String indented_string <- ({ '".."' indent {| indented_string_line (nodent {~ "" -> " |
