Merge pull request #8 from amacias/small_fix2

Bugfix, "..-" is a valid identifier
This commit is contained in:
Flaviu Tamas 2014-07-18 12:16:29 -04:00
commit fe3a1a1727

View file

@ -31,7 +31,7 @@ else:
proc positiveOrNegative(num: int): string = proc positiveOrNegative(num: int): string =
result = case num: result = case num:
of low(int)..-1: of low(int).. -1:
"negative" "negative"
of 0: of 0:
"zero" "zero"