diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2009-06-24 17:13:22 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2009-06-24 17:13:22 +0200 |
commit | 300430fbba28b408f7ac86ca46b03d9d50839399 (patch) | |
tree | b8a84f8efdccda7bfa909b3db911d9e2b9a4b39b /lib/system/debugger.nim | |
parent | 36818817bd61594ea6d106328bb8df0f5a25cfc4 (diff) | |
download | Nim-300430fbba28b408f7ac86ca46b03d9d50839399.tar.gz |
overload resolution for proc vars
Diffstat (limited to 'lib/system/debugger.nim')
-rw-r--r-- | lib/system/debugger.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/system/debugger.nim b/lib/system/debugger.nim index 73a1e4db2..1139503cb 100644 --- a/lib/system/debugger.nim +++ b/lib/system/debugger.nim @@ -81,7 +81,7 @@ proc ListBreakPoints() = write(stdout, "***\n") proc openAppend(filename: string): TFile = - if openFile(result, filename, fmAppend): + if open(result, filename, fmAppend): write(result, "----------------------------------------\n") proc dbgRepr(p: pointer, typ: PNimType): string = @@ -329,7 +329,7 @@ proc dbgOut(s: string, start: int, currFrame: PExtendedFrame) = debugOut("[Warning] could not open or create file ") return dbgEvaluate(stream, s, i, currFrame) - closeFile(stream) + close(stream) proc dbgStackFrame(s: string, start: int, currFrame: PExtendedFrame) = var dbgTemp: string @@ -343,7 +343,7 @@ proc dbgStackFrame(s: string, start: int, currFrame: PExtendedFrame) = debugOut("[Warning] could not open or create file ") return ListFrame(stream, currFrame) - closeFile(stream) + close(stream) proc CommandPrompt() = # if we return from this routine, user code executes again |