diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-15 00:40:36 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-15 00:40:40 -0700 |
| commit | 5629b81f78c722e8001b8cee1628085a78a8ea9f (patch) | |
| tree | fc3b36c3c4ac5176d8269e523109468f2ff6be77 /core | |
| parent | c161f48838ea13a98c37d50df030ad336be97171 (diff) | |
Updating tests.
Diffstat (limited to 'core')
| -rw-r--r-- | core/text.nom | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/text.nom b/core/text.nom index e6065c1..8b26ccb 100644 --- a/core/text.nom +++ b/core/text.nom @@ -20,7 +20,7 @@ compile [%text with %sub instead of %patt, %text s/%patt/%sub] to action [lines in %text, lines of %text] lua> ".." - local result = {} + local result = list{} for line in (\%text):gmatch('[^\n]+') do result[#result+1] = line end |
