diff options
| -rwxr-xr-x | nomsu.moon | 2 | ||||
| -rw-r--r-- | nomsu.peg | 4 |
2 files changed, 2 insertions, 4 deletions
@@ -40,8 +40,6 @@ do -- Do a pass on all actions to enforce parameters-are-nouns heuristic -- Maybe do some sort of lazy definitions of actions that defer until they're used in code -- Remove nomsu:write and nomsu:writeln and just use print() instead. --- Allow ("..") as an expression, which is obviously not an indented text region, instead --- of having a special syntax for "\.." lpeg.setmaxstack 10000 -- whoa {:P,:R,:V,:S,:Cg,:C,:Cp,:B,:Cmt} = lpeg @@ -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): |
