aboutsummaryrefslogtreecommitdiff
path: root/compatibility/3.6.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-08-29 15:09:35 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-08-29 15:10:27 -0700
commitdcb5e8add269f39a116a20b1d0a34e28d388b421 (patch)
treec50620e69209e24b82d47291d186e40655fb8de8 /compatibility/3.6.nom
parent23b52bc22d9ec24702c1bed0f8ce90271eec6460 (diff)
Fully updated to 3.6, deprecated old LuaCode global functions like "to 1
write 2" and replaced them with method calls like "1::append 2"
Diffstat (limited to 'compatibility/3.6.nom')
-rw-r--r--compatibility/3.6.nom15
1 files changed, 7 insertions, 8 deletions
diff --git a/compatibility/3.6.nom b/compatibility/3.6.nom
index 6697375..297612a 100644
--- a/compatibility/3.6.nom
+++ b/compatibility/3.6.nom
@@ -1,21 +1,20 @@
-#!/usr/bin/env nomsu -V3
+#!/usr/bin/env nomsu -V3.6.5.6
#
This file defines upgrades from Nomsu <3.6 to 3.6
use "compatibility/compatibility.nom"
-upgrade action (to %1 write %2) to "3.6" as (..)
- %1::append %2
-upgrade action (%1 <-write %2) to "3.6" as (..)
- %1::append %2
+upgrade action (to %1 write %2) to "3.6" as (%1::append %2)
+upgrade action (%1 <-write %2) to "3.6" as (%1::append %2)
upgrade action (to %1 write %2 joined by %3) to "3.6" as (..)
%1::append %2 joined by %3
-upgrade action (declare locals in %lua) to "3.6" as (..)
- %lua::declare locals
+
+upgrade action (declare locals in %lua) to "3.6" as (%lua::declare locals)
upgrade action (declare locals %locs in %lua) to "3.6" as (..)
%lua::declare locals %locs
+
upgrade action (add free vars %vars to %lua) to "3.6" as (..)
%lua::add free vars %vars
+
upgrade action (remove free vars %vars from %lua) to "3.6" as (..)
%lua::remove free vars %vars
-