summary refs log tree commit diff stats
path: root/compiler/lineinfos.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/lineinfos.nim')
-rw-r--r--compiler/lineinfos.nim9
1 files changed, 7 insertions, 2 deletions
diff --git a/compiler/lineinfos.nim b/compiler/lineinfos.nim
index 96a382453..d8f82aea0 100644
--- a/compiler/lineinfos.nim
+++ b/compiler/lineinfos.nim
@@ -59,7 +59,10 @@ type
     warnLockLevel = "LockLevel", warnResultShadowed = "ResultShadowed",
     warnInconsistentSpacing = "Spacing",  warnCaseTransition = "CaseTransition",
     warnCycleCreated = "CycleCreated", warnObservableStores = "ObservableStores",
-    warnUser = "User", warnStrictNotNil = "StrictNotNil",
+    warnStrictNotNil = "StrictNotNil",
+    warnCannotOpen = "CannotOpen",
+    warnFileChanged = "FileChanged",
+    warnUser = "User",
 
     hintSuccess = "Success", hintSuccessX = "SuccessX", hintCC = "CC",
     hintLineTooLong = "LineTooLong", hintXDeclaredButNotUsed = "XDeclaredButNotUsed",
@@ -133,8 +136,10 @@ const
     warnCaseTransition: "Potential object case transition, instantiate new object instead",
     warnCycleCreated: "$1",
     warnObservableStores: "observable stores to '$1'",
-    warnUser: "$1",
     warnStrictNotNil: "$1",
+    warnCannotOpen: "cannot open: $1",
+    warnFileChanged: "file changed: $1",
+    warnUser: "$1",
     hintSuccess: "operation successful: $#",
     # keep in sync with `testament.isSuccess`
     hintSuccessX: "${loc} lines; ${sec}s; $mem; $build build; proj: $project; out: $output",