aboutsummaryrefslogtreecommitdiff
path: root/core/control_flow.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-05-24 14:57:24 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-05-24 14:57:35 -0700
commit2e345e271f27147051b8ce1f2981ba728b14394a (patch)
tree5f56bc1886ed887ad87ffb86b7591fcc5bf09368 /core/control_flow.nom
parentad94ed3653e2b7a9f68855670a32617aa80a637c (diff)
Misc changes, fixed up Object lib and tests.
Diffstat (limited to 'core/control_flow.nom')
-rw-r--r--core/control_flow.nom2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/control_flow.nom b/core/control_flow.nom
index 129f236..9f23e07 100644
--- a/core/control_flow.nom
+++ b/core/control_flow.nom
@@ -288,7 +288,7 @@ immediately
assume (not %seen_else) or barf "'else' clause needs to be last in 'when' block"
lua> "table.insert(\%fallthroughs, \(%condition as lua expr));"
to %code write "\("if" if %is_first else "\nelseif") "
- for %i=%condition in %fallthroughs
+ for %i = %condition in %fallthroughs
if (%i > 1): to %code write " or "
to %code write %condition
to %code write " then\n "