From ddef8be3df626d63f6e575d4c1416295a22371ad Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 14 Jan 2019 17:14:34 -0800 Subject: Moved compatibility to lib/ and fixed path searching for .peg files. --- lib/compatibility/4.9.nom | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lib/compatibility/4.9.nom (limited to 'lib/compatibility/4.9.nom') diff --git a/lib/compatibility/4.9.nom b/lib/compatibility/4.9.nom new file mode 100644 index 0000000..14b5dd6 --- /dev/null +++ b/lib/compatibility/4.9.nom @@ -0,0 +1,11 @@ +#!/usr/bin/env nomsu -V6.14 +# + This file defines upgrades from Nomsu <4.9 to 4.9 +use "compatibility/compatibility" + +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +upgrade action "if" to "4.9" via + for ($tree $end_version): + if ((size of $tree) > 2): return $tree + return \(when $tree.2) -- cgit v1.2.3