From a2f07415c5284bf94c146cea6eed4a15f171b9ab Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 9 Nov 2018 14:48:23 -0800 Subject: Deprecating (% as lua statements) and (% as lua return) --- lib/os.nom | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/os.nom') 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)()" -- cgit v1.2.3