diff options
author | Araq <rumpf_a@web.de> | 2011-04-17 20:17:45 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-04-17 20:17:45 +0200 |
commit | 48dd9679bd2196369a8a6f93f6225ad730683c25 (patch) | |
tree | b688e2d7e426c571b7fd898b6866205b70925e0d /compiler/ropes.nim | |
parent | e487c0a2491fcc144cb47b54597a320e2bf79866 (diff) | |
download | Nim-48dd9679bd2196369a8a6f93f6225ad730683c25.tar.gz |
:= templatable; lexer improvements
Diffstat (limited to 'compiler/ropes.nim')
-rwxr-xr-x | compiler/ropes.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ropes.nim b/compiler/ropes.nim index 62fdca4ae..9c4c5e700 100755 --- a/compiler/ropes.nim +++ b/compiler/ropes.nim @@ -274,7 +274,7 @@ proc app(a: var PRope, b: PRope) = a = con(a, b) proc app(a: var PRope, b: string) = a = con(a, b) proc prepend(a: var PRope, b: PRope) = a = con(b, a) -proc writeRope*(f: var tfile, c: PRope) = +proc writeRope*(f: TFile, c: PRope) = var stack = @[c] while len(stack) > 0: var it = pop(stack) |