From 23b52bc22d9ec24702c1bed0f8ce90271eec6460 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 29 Aug 2018 15:02:36 -0700 Subject: Intermediate step in upgrading to 3.6. Fixed a bug with upgrading methods. --- compatibility/3.6.nom | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 compatibility/3.6.nom (limited to 'compatibility/3.6.nom') diff --git a/compatibility/3.6.nom b/compatibility/3.6.nom new file mode 100644 index 0000000..6697375 --- /dev/null +++ b/compatibility/3.6.nom @@ -0,0 +1,21 @@ +#!/usr/bin/env nomsu -V3 +# + 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 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 %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 + -- cgit v1.2.3