diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-05-26 13:09:20 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-05-26 13:09:25 -0700 |
| commit | 0b4a81191ae61d53832d85614f0bb0f2912d7a39 (patch) | |
| tree | 62a34b551d915f0f2b34be33cda1b0d44dfe8008 /nomsu.moon | |
| parent | 64294f5cd6ab67236625cf4d645debafc35d0055 (diff) | |
Minor tidying.
Diffstat (limited to 'nomsu.moon')
| -rwxr-xr-x | nomsu.moon | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -166,7 +166,7 @@ NOMSU_DEFS = with {} -- stack minus 4, this pattern matches and pops off the top of the stack exactly once. .dedent = P (start)=> nodent = lpeg.userdata.indent_stack[#lpeg.userdata.indent_stack] - spaces = @match("[ ]*", start) + spaces = @match("^[ ]*", start) if #spaces <= #nodent-4 remove(lpeg.userdata.indent_stack) return start |
