diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2018-11-09 14:48:23 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2018-11-09 14:48:40 -0800 |
| commit | a2f07415c5284bf94c146cea6eed4a15f171b9ab (patch) | |
| tree | 925ab30d70cac56c24e007f7daa0b89b9f371f3c /examples | |
| parent | 7d2b7199d87930096b7fd799709fe0105d51eccb (diff) | |
Deprecating (% as lua statements) and (% as lua return)
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/how_do_i.nom | 2 |
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)") |
