diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-01-14 17:14:34 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-01-14 17:14:57 -0800 |
| commit | ddef8be3df626d63f6e575d4c1416295a22371ad (patch) | |
| tree | 78af9584447b085f06d6412d2cc20137a460848b /compatibility/5.13.nom | |
| parent | 9fceff7e785bb234971b443809eef3da9051c598 (diff) | |
Moved compatibility to lib/ and fixed path searching for .peg files.
Diffstat (limited to 'compatibility/5.13.nom')
| -rw-r--r-- | compatibility/5.13.nom | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/compatibility/5.13.nom b/compatibility/5.13.nom deleted file mode 100644 index 1e0db6d..0000000 --- a/compatibility/5.13.nom +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env nomsu -V5.13 -# - This file defines upgrades from Nomsu <5.13 to 5.13 -use "compatibility/compatibility" - -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -upgrade action (size of $) to "5.13" as (#$) - -upgrade action "with" to "5.13" via (..) - for $tree: - $assignments = $tree.2 - $body = $tree.3 - if ($assignments.type != "Dict"): - return $tree - $new_assignments = \[] - for $a in $assignments at $i: - when: - (($a.type == "DictEntry") and ((#$a) == 1)): - $a = $a.1 - (all of [$a.type == "DictEntry", (#$a) == 2]): - $a = \($a.1 = $a.2) - $new_assignments.$i = $a - return \(with $new_assignments $body) |
