fixes #6609; 'if' expressions support multiple statements; minor breaking change
This commit is contained in:
parent
9212aa9c0c
commit
742f43e572
5 changed files with 91 additions and 17 deletions
|
|
@ -509,7 +509,7 @@ proc nimParseBiggestFloat(s: string, number: var BiggestFloat,
|
|||
|
||||
# insert exponent
|
||||
t[ti] = 'E'; inc(ti)
|
||||
t[ti] = if exp_negative: '-' else: '+'; inc(ti)
|
||||
t[ti] = (if exp_negative: '-' else: '+'); inc(ti)
|
||||
inc(ti, 3)
|
||||
|
||||
# insert adjusted exponent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue