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 /lib/compatibility/3.nom | |
| parent | 9fceff7e785bb234971b443809eef3da9051c598 (diff) | |
Moved compatibility to lib/ and fixed path searching for .peg files.
Diffstat (limited to 'lib/compatibility/3.nom')
| -rw-r--r-- | lib/compatibility/3.nom | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/compatibility/3.nom b/lib/compatibility/3.nom new file mode 100644 index 0000000..af5c2fd --- /dev/null +++ b/lib/compatibility/3.nom @@ -0,0 +1,15 @@ +#!/usr/bin/env nomsu -V6.14 +# + This file defines upgrades from Nomsu <=2 to Nomsu 3 + +use "compatibility/compatibility" + +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +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 + for $tree: + compile error at $tree "Object API has changed and 'as' is no longer supported." + "Use ($obj, action ...) instead of (as $obj: action ...)" |
