aboutsummaryrefslogtreecommitdiff
path: root/core/text.nom
diff options
context:
space:
mode:
Diffstat (limited to 'core/text.nom')
-rw-r--r--core/text.nom2
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