diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-05-15 18:55:55 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-05-15 18:56:00 -0700 |
| commit | 0a95a264e5829153eb19bde54882e5c135d6bdad (patch) | |
| tree | 3deca4bb69bccee009f8a6960dac4e8cdddf0876 /core/metaprogramming.nom | |
| parent | 01aa199f7acfe9af57c5970793259b36e060fd11 (diff) | |
Cleaning up comments.
Diffstat (limited to 'core/metaprogramming.nom')
| -rw-r--r-- | core/metaprogramming.nom | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/metaprogramming.nom b/core/metaprogramming.nom index a2c3820..4b7f0bc 100644 --- a/core/metaprogramming.nom +++ b/core/metaprogramming.nom @@ -1,4 +1,4 @@ -#.. +# This File contains actions for making actions and compile-time actions and some helper functions to make that easier. @@ -182,14 +182,14 @@ immediately immediately compile [source] to: Lua value "tree.source" -#.. +# immediately action [Lua %]: Lua (=lua "tree.source") % action [Lua value %]: Lua value (=lua "tree.source") % # Return immediately - #.. Return statement is wrapped in a do..end block because Lua is unhappy if you + # Return statement is wrapped in a do..end block because Lua is unhappy if you put code after a return statement, unless you wrap it in a block. compile [return] to: Lua "do return; end" compile [return %return_value] to: Lua "do return \(%return_value as lua expr); end" |
