summary refs log tree commit diff stats
path: root/compiler/msgs.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2014-11-05 01:41:12 +0100
committerAndreas Rumpf <rumpf_a@web.de>2014-11-05 01:41:12 +0100
commite7821cc07a8dc60c754e16a9d919711668666495 (patch)
treeb535c57cdf6530b47c52ebd7565c659535a53f18 /compiler/msgs.nim
parent0c3299383aa61099d52e88786161d68628a508ec (diff)
parenta7aa2de166072343041183543da08f372633520e (diff)
downloadNim-e7821cc07a8dc60c754e16a9d919711668666495.tar.gz
Merge pull request #1623 from gradha/pr_bigbreak_adds_code_directive_to_rst
Adds bigbreak code directive to rst with numbered lines
Diffstat (limited to 'compiler/msgs.nim')
-rw-r--r--compiler/msgs.nim7
1 files changed, 5 insertions, 2 deletions
diff --git a/compiler/msgs.nim b/compiler/msgs.nim
index 51d2836f8..d40d94a71 100644
--- a/compiler/msgs.nim
+++ b/compiler/msgs.nim
@@ -114,7 +114,8 @@ type
     warnOctalEscape, warnXIsNeverRead, warnXmightNotBeenInit, 
     warnDeprecated, warnConfigDeprecated,
     warnSmallLshouldNotBeUsed, warnUnknownMagic, warnRedefinitionOfLabel, 
-    warnUnknownSubstitutionX, warnLanguageXNotSupported, warnCommentXIgnored, 
+    warnUnknownSubstitutionX, warnLanguageXNotSupported,
+    warnFieldXNotSupported, warnCommentXIgnored, 
     warnNilStatement, warnAnalysisLoophole,
     warnDifferentHeaps, warnWriteToForeignHeap, warnUnsafeCode,
     warnEachIdentIsTuple, warnShadowIdent, 
@@ -375,6 +376,7 @@ const
     warnRedefinitionOfLabel: "redefinition of label \'$1\' [RedefinitionOfLabel]", 
     warnUnknownSubstitutionX: "unknown substitution \'$1\' [UnknownSubstitutionX]", 
     warnLanguageXNotSupported: "language \'$1\' not supported [LanguageXNotSupported]", 
+    warnFieldXNotSupported: "field \'$1\' not supported [FieldXNotSupported]", 
     warnCommentXIgnored: "comment \'$1\' ignored [CommentXIgnored]", 
     warnNilStatement: "'nil' statement is deprecated; use an empty 'discard' statement instead [NilStmt]", 
     warnAnalysisLoophole: "thread analysis incomplete due to unknown call '$1' [AnalysisLoophole]",
@@ -415,7 +417,8 @@ const
     "XIsNeverRead", "XmightNotBeenInit",
     "Deprecated", "ConfigDeprecated",
     "SmallLshouldNotBeUsed", "UnknownMagic", 
-    "RedefinitionOfLabel", "UnknownSubstitutionX", "LanguageXNotSupported", 
+    "RedefinitionOfLabel", "UnknownSubstitutionX",
+    "LanguageXNotSupported", "FieldXNotSupported",
     "CommentXIgnored", "NilStmt",
     "AnalysisLoophole", "DifferentHeaps", "WriteToForeignHeap",
     "UnsafeCode", "EachIdentIsTuple", "ShadowIdent",