From 5ee9bcb7fb692b7dcbdcd71b38f4166f1ae56d3c Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 28 Aug 2018 15:34:45 -0700 Subject: Upgraded version to 3.5.5.6, corresponding to Object Oriented changes. --- compatibility/2.3.nom | 2 +- compatibility/2.4.nom | 2 +- compatibility/2.5.5.5.nom | 2 +- compatibility/2.5.nom | 2 +- compatibility/2.nom | 2 +- compatibility/3.nom | 12 +++++++----- compatibility/compatibility.nom | 6 ++---- 7 files changed, 14 insertions(+), 14 deletions(-) (limited to 'compatibility') diff --git a/compatibility/2.3.nom b/compatibility/2.3.nom index d428b4c..4e4a022 100644 --- a/compatibility/2.3.nom +++ b/compatibility/2.3.nom @@ -1,4 +1,4 @@ -#!/usr/bin/env nomsu -V2.5.5.5 +#!/usr/bin/env nomsu -V3.5.5.6 # This file defines upgrades from Nomsu <2.3 to Nomsu 2.3 diff --git a/compatibility/2.4.nom b/compatibility/2.4.nom index 088e320..cf88b13 100644 --- a/compatibility/2.4.nom +++ b/compatibility/2.4.nom @@ -1,4 +1,4 @@ -#!/usr/bin/env nomsu -V2.5.5.5 +#!/usr/bin/env nomsu -V3.5.5.6 # This file defines upgrades from Nomsu <2.4 to Nomsu 2.4 diff --git a/compatibility/2.5.5.5.nom b/compatibility/2.5.5.5.nom index d127294..53a0435 100644 --- a/compatibility/2.5.5.5.nom +++ b/compatibility/2.5.5.5.nom @@ -1,4 +1,4 @@ -#!/usr/bin/env nomsu -V2.5.5.4 +#!/usr/bin/env nomsu -V3.5.5.6 # This file defines upgrades from Nomsu <2.5.5.5 to Nomsu 2.5.5.5 diff --git a/compatibility/2.5.nom b/compatibility/2.5.nom index 128bf6a..a76ab3a 100644 --- a/compatibility/2.5.nom +++ b/compatibility/2.5.nom @@ -1,4 +1,4 @@ -#!/usr/bin/env nomsu -V2.5.5.5 +#!/usr/bin/env nomsu -V3.5.5.6 # This file defines upgrades from Nomsu <2.5 to Nomsu 2.5 diff --git a/compatibility/2.nom b/compatibility/2.nom index 53d9988..5d4d0f6 100644 --- a/compatibility/2.nom +++ b/compatibility/2.nom @@ -1,4 +1,4 @@ -#!/usr/bin/env nomsu -V2.5.5.5 +#!/usr/bin/env nomsu -V3.5.5.6 # This file defines upgrades from Nomsu 1 to Nomsu 2 diff --git a/compatibility/3.nom b/compatibility/3.nom index a83621b..408472f 100644 --- a/compatibility/3.nom +++ b/compatibility/3.nom @@ -1,11 +1,13 @@ -#!/usr/bin/env nomsu -V3 +#!/usr/bin/env nomsu -V3.5.5.6 # This file defines upgrades from Nomsu <=2 to Nomsu 3 use "compatibility/compatibility.nom" upgrade action (method %spec %body) to "3" as (my action %spec %body) -upgrade action (me) to "3" as (%me) -upgrade action (@) to "3" as (%me) -upgrade action (as % %) to "3" via (..) - [] -> (barf "Object API has changed. Use (%obj::action 1 2) instead of (as %obj: action 1 2)") +upgrade action (me) to "3" as %me +upgrade action (@) to "3" as %me +upgrade action "as 1 2" to "3" via (..) + [] -> (..) + barf ".." + Object API has changed. Use (%obj::action 1 2) instead of (as %obj: action 1 2) diff --git a/compatibility/compatibility.nom b/compatibility/compatibility.nom index 982cec6..86a5ac7 100644 --- a/compatibility/compatibility.nom +++ b/compatibility/compatibility.nom @@ -1,4 +1,4 @@ -#!/usr/bin/env nomsu -V2.5.5.5 +#!/usr/bin/env nomsu -V3.5.5.6 # This file contains code for defining ways to upgrade code between different versions of Nomsu. @@ -9,10 +9,8 @@ use "lib/os.nom" action [upgrade to %version via %upgrade_fn]: %UPGRADES.%version = %upgrade_fn -%ACTION_UPGRADES = {} +%ACTION_UPGRADES = ({} with fallback % -> []) action [upgrade action %stub to %version via %upgrade_fn]: - unless %ACTION_UPGRADES.%version: - %ACTION_UPGRADES.%version = [] %ACTION_UPGRADES.%version.%stub = %upgrade_fn parse [upgrade %tree to %version as %body] as (..) -- cgit v1.2.3