summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-02-09 20:13:36 +0100
committerAraq <rumpf_a@web.de>2012-02-09 20:13:36 +0100
commitfb35b855d58d6ee2456f761cf57ff1d26022de72 (patch)
tree7a781dea5895efafa989d2acb11a7efa848f15a7 /compiler
parentb458dc70096d3f23c72b28097ef4ce5329893db8 (diff)
downloadNim-fb35b855d58d6ee2456f761cf57ff1d26022de72.tar.gz
added 'system.shallow'
Diffstat (limited to 'compiler')
-rwxr-xr-xcompiler/msgs.nim3
-rwxr-xr-xcompiler/nversion.nim2
2 files changed, 4 insertions, 1 deletions
diff --git a/compiler/msgs.nim b/compiler/msgs.nim
index 3862c5751..210886173 100755
--- a/compiler/msgs.nim
+++ b/compiler/msgs.nim
@@ -411,7 +411,9 @@ var
 
 proc newFileInfo(fullPath, projPath: string): TFileInfo =
   result.fullPath = fullPath
+  shallow(result.fullPath)
   result.projPath = projPath
+  shallow(result.projPath)
 
 proc fileInfoIdx*(filename: string): int32 =
   var
@@ -420,6 +422,7 @@ proc fileInfoIdx*(filename: string): int32 =
 
   try:
     canon = canonicalizePath(filename)
+    shallow(canon)
   except:
     canon = filename
     # The compiler uses "filenames" such as `command line` or `stdin`
diff --git a/compiler/nversion.nim b/compiler/nversion.nim
index 28b2850e7..4e6885b3b 100755
--- a/compiler/nversion.nim
+++ b/compiler/nversion.nim
@@ -15,7 +15,7 @@ const
   defaultAsmMarkerSymbol* = '!'
   VersionMajor* = 0
   VersionMinor* = 8
-  VersionPatch* = 14
+  VersionPatch* = 15
   VersionAsString* = $VersionMajor & "." & $VersionMinor & "." & $VersionPatch
 
   RodFileVersion* = "1209"       # modify this if the rod-format changes!