aboutsummaryrefslogtreecommitdiff
path: root/lib/collections.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2017-10-02 19:00:58 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2017-10-02 19:00:58 -0700
commit63ed265157de8ff91dee606b0e61e52214a4083b (patch)
tree0b9aa6e920d8ea9a4938a59a0e7b39355b108150 /lib/collections.nom
parentdcd3391b36c7accc194cfdc8654db085c9bc820e (diff)
More progress towards making everything work.
Diffstat (limited to 'lib/collections.nom')
-rw-r--r--lib/collections.nom2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/collections.nom b/lib/collections.nom
index 61ae71d..43dfb08 100644
--- a/lib/collections.nom
+++ b/lib/collections.nom
@@ -67,7 +67,7 @@ compile [..]
%index rd in %list = %new_value, %index th in %list = %new_value, %index in %list = %new_value
%list -> %index = %new_value
..to code:
- "(\(%list as lua))[\(%index as lua)] = \(%new_value as lua)"
+ "(\(%list as lua))[\(%index as lua)] = \(%new_value as lua);"
compile [append %item to %list, add %item to %list] to:
"table.insert(\(%list as lua), \(%item as lua))"