allowing comments in the middle of switch statements

This commit is contained in:
Jeremy Ashkenas
2010-01-09 13:25:44 -05:00
parent 2319affa61
commit 8e3922b6c6
3 changed files with 15 additions and 4 deletions

View File

@@ -7,7 +7,11 @@ result: switch num
true
false
when 10 then true
# Mid-switch comment with whitespace
# and multi line
when 11 then false
else false
print(result)