aboutsummaryrefslogtreecommitdiff
path: root/lib/os.nom
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2018-11-09 14:48:23 -0800
committerBruce Hill <bruce@bruce-hill.com>2018-11-09 14:48:40 -0800
commita2f07415c5284bf94c146cea6eed4a15f171b9ab (patch)
tree925ab30d70cac56c24e007f7daa0b89b9f371f3c /lib/os.nom
parent7d2b7199d87930096b7fd799709fe0105d51eccb (diff)
Deprecating (% as lua statements) and (% as lua return)
Diffstat (limited to 'lib/os.nom')
-rw-r--r--lib/os.nom4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/os.nom b/lib/os.nom
index 64b46c2..fb705dc 100644
--- a/lib/os.nom
+++ b/lib/os.nom
@@ -23,7 +23,7 @@ test:
for file %f in "core": do nothing
(for file %f in %path %body) compiles to "\
..for i,\(%f as lua expr) in Files.walk(\(%path as lua expr)) do
- \(%body as lua statements)
+ \(%body as lua)
\(what (===next %f ===) compiles to)
end
\(what (===stop %f ===) compiles to)"
@@ -32,7 +32,7 @@ test:
..(function()
local ret = List{}
for i,\(%f as lua expr) in Files.walk(\(%path as lua expr)) do
- ret[#ret+1] = \(%expr as lua statements)
+ ret[#ret+1] = \(%expr as lua)
end
return ret
end)()"