Fixed bug in table assignment macro.
This commit is contained in:
parent
be55821244
commit
f0a3c983e4
4
core.nom
4
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)
|
||||
|
Loading…
Reference in New Issue
Block a user