summary refs log tree commit diff stats
path: root/compiler/semstmts.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-01-31 00:05:25 +0100
committerAraq <rumpf_a@web.de>2012-01-31 00:05:25 +0100
commite4a4588b48a444c199106356cd048fe05604650e (patch)
tree2e6147acb036c4e661dc40e99c5d6dc939ac7a7b /compiler/semstmts.nim
parenta7e9ae55f4b3a71207c2cee2189e2cc584591d22 (diff)
downloadNim-e4a4588b48a444c199106356cd048fe05604650e.tar.gz
small fixes for tests on windows
Diffstat (limited to 'compiler/semstmts.nim')
-rwxr-xr-xcompiler/semstmts.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semstmts.nim b/compiler/semstmts.nim
index ce4bd3966..ab8081031 100755
--- a/compiler/semstmts.nim
+++ b/compiler/semstmts.nim
@@ -823,7 +823,7 @@ proc evalInclude(c: PContext, n: PNode): PNode =
     var f = checkModuleName(n.sons[i])
     var fileIndex = f.fileInfoIdx
     if ContainsOrIncl(c.includedFiles, fileIndex): 
-      GlobalError(n.info, errRecursiveDependencyX, f.shortenDir)
+      GlobalError(n.info, errRecursiveDependencyX, f.extractFilename)
     addSon(result, semStmt(c, gIncludeFile(f)))
     Excl(c.includedFiles, fileIndex)