summary refs log tree commit diff stats
path: root/compiler/msgs.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-07-08 01:29:15 +0200
committerAraq <rumpf_a@web.de>2011-07-08 01:29:15 +0200
commit99bcc233cd8fb3bb9b6f3f0857e477dd9b33c9e8 (patch)
tree2259a14b53ec4fc6f8dedc311eb5e6b837f44180 /compiler/msgs.nim
parent170573a87f0df749bdb91126c930826ba5329e95 (diff)
downloadNim-99bcc233cd8fb3bb9b6f3f0857e477dd9b33c9e8.tar.gz
bugfix: 'set' overloadable; further steps for multi threading support
Diffstat (limited to 'compiler/msgs.nim')
-rwxr-xr-xcompiler/msgs.nim11
1 files changed, 6 insertions, 5 deletions
diff --git a/compiler/msgs.nim b/compiler/msgs.nim
index ed88ff551..f6ec4729a 100755
--- a/compiler/msgs.nim
+++ b/compiler/msgs.nim
@@ -94,7 +94,7 @@ type
     warnSmallLshouldNotBeUsed, warnUnknownMagic, warnRedefinitionOfLabel, 
     warnUnknownSubstitutionX, warnLanguageXNotSupported, warnCommentXIgnored, 
     warnXisPassedToProcVar, warnDerefDeprecated, warnAnalysisLoophole,
-    warnDifferentHeaps,
+    warnDifferentHeaps, warnWriteToForeignHeap,
     warnUser, 
     hintSuccess, hintSuccessX, 
     hintLineTooLong, hintXDeclaredButNotUsed, hintConvToBaseNotNeeded, 
@@ -328,7 +328,8 @@ const
     warnXisPassedToProcVar: "\'$1\' is passed to a procvar; deprecated [XisPassedToProcVar]", 
     warnDerefDeprecated: "p^ is deprecated; use p[] instead [DerefDeprecated]",
     warnAnalysisLoophole: "thread analysis incomplete due to unkown call '$1' [AnalysisLoophole]",
-    warnDifferentHeaps: "possible inconsistency of thread local heaps",
+    warnDifferentHeaps: "possible inconsistency of thread local heaps [DifferentHeaps]",
+    warnWriteToForeignHeap: "write to foreign heap [WriteToForeignHeap]",
     warnUser: "$1 [User]", 
     hintSuccess: "operation successful [Success]", 
     hintSuccessX: "operation successful ($1 lines compiled; $2 sec total) [SuccessX]", 
@@ -345,13 +346,13 @@ const
     hintPath: "added path: '$1' [Path]",
     hintUser: "$1 [User]"]
 
-const 
-  WarningsToStr*: array[0..17, string] = ["CannotOpenFile", "OctalEscape", 
+const
+  WarningsToStr*: array[0..18, string] = ["CannotOpenFile", "OctalEscape", 
     "XIsNeverRead", "XmightNotBeenInit", "CannotWriteMO2", "CannotReadMO2", 
     "Deprecated", "SmallLshouldNotBeUsed", "UnknownMagic", 
     "RedefinitionOfLabel", "UnknownSubstitutionX", "LanguageXNotSupported", 
     "CommentXIgnored", "XisPassedToProcVar", "DerefDeprecated",
-    "AnalysisLoophole", "DifferentHeaps", "User"]
+    "AnalysisLoophole", "DifferentHeaps", "WriteToForeignHeap", "User"]
 
   HintsToStr*: array[0..13, string] = ["Success", "SuccessX", "LineTooLong", 
     "XDeclaredButNotUsed", "ConvToBaseNotNeeded", "ConvFromXtoItselfNotNeeded",