aboutsummaryrefslogtreecommitdiff
path: root/examples/how_do_i.nom
diff options
context:
space:
mode:
Diffstat (limited to 'examples/how_do_i.nom')
-rw-r--r--examples/how_do_i.nom2
1 files changed, 1 insertions, 1 deletions
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)")