From 811fdd685670d2eb8c6bcb9e6e103e57bf402ca8 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 29 Aug 2018 15:59:30 -0700 Subject: Tweaked version 3.6 to include deprecating list append/removal functions in favor of using a method call style. --- compatibility/compatibility.nom | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compatibility/compatibility.nom') 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: -- cgit v1.2.3