made test green again
This commit is contained in:
parent
bd786812e7
commit
5e325bc9f9
1 changed files with 339 additions and 339 deletions
|
|
@ -210,7 +210,7 @@ proc parse_complex_stmt(value, identifier: string, index: var int): NimNode {.co
|
||||||
inc(index, read + 1)
|
inc(index, read + 1)
|
||||||
|
|
||||||
# Insert body into result
|
# Insert body into result
|
||||||
var stmtIndex = macros.high(result[resultIndex])
|
var stmtIndex = result[resultIndex].len-1
|
||||||
result[resultIndex][stmtIndex] = body
|
result[resultIndex][stmtIndex] = body
|
||||||
|
|
||||||
# Parse through EOL again & increment result index
|
# Parse through EOL again & increment result index
|
||||||
|
|
@ -245,7 +245,7 @@ proc parse_simple_statement(value: string, index: var int): NimNode {.compiletim
|
||||||
inc(index, read + 1)
|
inc(index, read + 1)
|
||||||
|
|
||||||
# Insert body into result
|
# Insert body into result
|
||||||
var stmtIndex = macros.high(result)
|
var stmtIndex = result.len-1
|
||||||
result[stmtIndex] = body
|
result[stmtIndex] = body
|
||||||
|
|
||||||
# Parse through EOL again
|
# Parse through EOL again
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue