diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-08-29 15:02:36 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-08-29 15:03:03 -0700 |
| commit | 23b52bc22d9ec24702c1bed0f8ce90271eec6460 (patch) | |
| tree | ad30c4d7da4fe2f0cb328ea5c0da883ec91ac641 /compatibility/3.6.nom | |
| parent | e64632be1aa938c865d06acfcf6641b75ecb42ac (diff) | |
Intermediate step in upgrading to 3.6. Fixed a bug with upgrading
methods.
Diffstat (limited to 'compatibility/3.6.nom')
| -rw-r--r-- | compatibility/3.6.nom | 21 |
1 files changed, 21 insertions, 0 deletions
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 + |
