aboutsummaryrefslogtreecommitdiff
path: root/compatibility/compatibility.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-08-29 15:59:30 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-08-29 16:00:04 -0700
commit811fdd685670d2eb8c6bcb9e6e103e57bf402ca8 (patch)
treec599fd7a609159c2ec50a30f1131000070e8eb03 /compatibility/compatibility.nom
parent22495c7d708b4950b83c5bc9b97806e19cd1fcfa (diff)
Tweaked version 3.6 to include deprecating list append/removal functions
in favor of using a method call style.
Diffstat (limited to 'compatibility/compatibility.nom')
-rw-r--r--compatibility/compatibility.nom4
1 files changed, 2 insertions, 2 deletions
diff --git a/compatibility/compatibility.nom b/compatibility/compatibility.nom
index d74cabe..d63383b 100644
--- a/compatibility/compatibility.nom
+++ b/compatibility/compatibility.nom
@@ -39,9 +39,9 @@ compile [upgrade action %actions to %version as %body] to:
(%t is syntax tree):
%args = ((make tree %) for % in %t)
- add "source=\(\%tree as lua id).source" to %args at index 1
+ %args::add "source=\(\%tree as lua id).source"
if %t.target:
- add "target=\(make tree %t.target)" to %args at index 1
+ %args::add "target=\(make tree %t.target)"
return "\(%t.type){\(%args joined with ", ")}"
else: