aboutsummaryrefslogtreecommitdiff
path: root/compatibility
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2018-11-19 17:21:08 -0800
committerBruce Hill <bruce@bruce-hill.com>2018-11-19 17:21:17 -0800
commitacd1191fb06a51f70f553c1dc8b47cf245a1c913 (patch)
tree993bb69cc050426644b98d10fb1a3133b3623be6 /compatibility
parent7f47d4204039258cec78c767f489b7809b4257ff (diff)
Tweaks and API cleanup.
Diffstat (limited to 'compatibility')
-rw-r--r--compatibility/4.11.nom6
1 files changed, 6 insertions, 0 deletions
diff --git a/compatibility/4.11.nom b/compatibility/4.11.nom
index fdf6660..05edfea 100644
--- a/compatibility/4.11.nom
+++ b/compatibility/4.11.nom
@@ -28,6 +28,12 @@ upgrade action "set" to "4.11" via (..)
%rhs.%i = %entry.2
return (SyntaxTree {type: "Action", source: %tree.source, 1: %lhs, 2: "=", 3: %rhs})
+# Changing filesystem API:
+upgrade action (for file %f in %path %body) to "4.11" as (for %f in (files for %path) %body)
+upgrade action (%expr for file %f in %path) to "4.11" as [: for %f in (files for %path): add %expr]
+upgrade action (line %n in %text) to "4.11" as (%text::line %n)
+upgrade action (line number of %pos in %text) to "4.11" as (%text::line number at %pos)
+
# Deprecating shorthand functions:
upgrade action [if all of %items %body, if all of %items then %body] to "4.11" as (..)
if (all of %items) %body