tests: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
This commit is contained in:
parent
ac9c1cd6b9
commit
e80465dacf
372 changed files with 4486 additions and 4486 deletions
|
|
@ -22,8 +22,8 @@ else:
|
|||
|
||||
proc newLit(x: int): PNode {.importc: "newLit", dynlib: dllname.}
|
||||
proc newOp(k: TNodeKind, a, b: PNode): PNode {.
|
||||
importc: "newOp", dynlib: dllname.}
|
||||
proc buildTree(x: int): PNode {.importc: "buildTree", dynlib: dllname.}
|
||||
importc: "newOp", dynlib: dllname.}
|
||||
proc buildTree(x: int): PNode {.importc: "buildTree", dynlib: dllname.}
|
||||
|
||||
proc eval(n: PNode): int =
|
||||
case n.k
|
||||
|
|
@ -36,6 +36,6 @@ proc eval(n: PNode): int =
|
|||
# Test the GC:
|
||||
for i in 0..100_000:
|
||||
discard eval(buildTree(2))
|
||||
|
||||
|
||||
echo "Done"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue