diff options
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 = {}; |
