aboutsummaryrefslogtreecommitdiff
path: root/core.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2017-09-14 05:16:57 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2017-09-14 05:16:57 -0700
commitf0a3c983e40fe7260be090638209321510e575e0 (patch)
tree44c3eec4fca284ea3c5cedb8459efaa81e595263 /core.nom
parentbe55821244bfa066e150d33490445a16d31d92b9 (diff)
Fixed bug in table assignment macro.
Diffstat (limited to 'core.nom')
-rw-r--r--core.nom4
1 files changed, 2 insertions, 2 deletions
diff --git a/core.nom b/core.nom
index 0324a74..d152137 100644
--- a/core.nom
+++ b/core.nom
@@ -186,11 +186,11 @@ macro [..]
..:
".."|\%list as lua expr\[\%index as lua expr\]
-macro [..]
+macro block [..]
"%list 's %index = %value", "%index st in %list = %value", "%index nd in %list = %value"
"%index rd in %list = %value", "%index th in %list = %value"
..:
- ".."|\%list as lua expr\[\%index as lua expr\]
+ ".."|\%list as lua expr\[\%index as lua expr\] = \%value as lua expr\
macro ["%item is in %list", "%list contains %item"]:
".."|(\%list as lua expr\[\%index as lua expr\] ~= nil)