From addac10a47693a976808bf75fe63aed19f8dbb63 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 22 Jul 2018 15:01:05 -0700 Subject: Re-autoformatted everything. The main changes are: no longer adding a newline after 1-line indented code inside blocks, and forcing files to have a trailing newline. The trailing newline thing created a lot of spurious changes. --- compatibility/compatibility.nom | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'compatibility/compatibility.nom') diff --git a/compatibility/compatibility.nom b/compatibility/compatibility.nom index 109b4e9..b936efb 100644 --- a/compatibility/compatibility.nom +++ b/compatibility/compatibility.nom @@ -10,7 +10,6 @@ action [upgrade to %version via %upgrade_fn]: 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 (..) @@ -58,10 +57,8 @@ action [..] %versions = {} for %v = % in %UPGRADES: %versions.%v = (yes) - for %v = % in %ACTION_UPGRADES: %versions.%v = (yes) - %versions = ((keys in %versions) sorted by % -> (% as list)) for %ver in %versions: if ((%ver as list) <= (%start_version as list)): do next %ver @@ -94,4 +91,4 @@ action [use %path from version %version] (..) %file = (read file %filename) %tree = (parse %file from %filename) %tree = (upgrade %tree from %version) - run tree %tree \ No newline at end of file + run tree %tree -- cgit v1.2.3