diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-01-19 18:13:02 -0800 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-01-19 18:13:13 -0800 |
| commit | 376dd652786b39c8b599cef4789ae8763ed92ae5 (patch) | |
| tree | a6d41c033578344b56f5ddf2adfcb109be153eb7 /lib | |
| parent | 4764842fe66c3ece4f4a96ba72b0b36afae7590c (diff) | |
Updated and fixed up how_do_i
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/control_flow.nom | 2 | ||||
| -rw-r--r-- | lib/metaprogramming.nom | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/control_flow.nom b/lib/control_flow.nom index 269a2a5..b05862c 100644 --- a/lib/control_flow.nom +++ b/lib/control_flow.nom @@ -103,7 +103,7 @@ immediately ::stop_repeat::; end --while-loop label scope return %code - parse [repeat %body] as: repeat while (true) %body + parse [repeat %body] as: repeat while (yes) %body parse [repeat until %condition %body] as: repeat while (not %condition) %body # For loop control flow: diff --git a/lib/metaprogramming.nom b/lib/metaprogramming.nom index f07e2d1..5ff1ab3 100644 --- a/lib/metaprogramming.nom +++ b/lib/metaprogramming.nom @@ -97,7 +97,7 @@ immediately end template = repr(table.concat(template, "\\n")); else - template = repr(\%longhand.src); + template = repr(nomsu:dedent(\%longhand.src)); end local junk, arg_names, junk = nomsu:get_stub(\%shorthand.value[1]); local replacements = {}; |
