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) --- examples/how_do_i.nom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/how_do_i.nom b/examples/how_do_i.nom index afa63e0..4dba722 100644 --- a/examples/how_do_i.nom +++ b/examples/how_do_i.nom @@ -267,7 +267,7 @@ say "The square root of 2 is \(square root of 2)" # Or to transform nomsu code into custom lua code using "compile % to %" (debug only %body) compiles to: if %DEBUG_ENABLED: - return (Lua "-- Debug code:\n\(%body as lua statements)") + return (Lua "-- Debug code:\n\(%body as lua)") ..else: return (Lua "-- (debug code removed for production)") -- cgit v1.2.3