summary refs log tree commit diff stats
path: root/compiler/msgs.nim
diff options
context:
space:
mode:
authorSimon Hafner <hafnersimon@gmail.com>2014-04-18 21:19:07 -0500
committerSimon Hafner <hafnersimon@gmail.com>2014-04-18 21:19:39 -0500
commit23e9ed81a274bd4c6420d9c900e7275f59125f95 (patch)
tree90f39c8cb7179aaecfd9faa278b39cd52f776f55 /compiler/msgs.nim
parent1465355c54e898507d6da77fd236e7422a3823b9 (diff)
downloadNim-23e9ed81a274bd4c6420d9c900e7275f59125f95.tar.gz
added `continue` to errStmtInvalidAfterReturn
Diffstat (limited to 'compiler/msgs.nim')
-rw-r--r--compiler/msgs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/msgs.nim b/compiler/msgs.nim
index a63fbca7f..b1d03e503 100644
--- a/compiler/msgs.nim
+++ b/compiler/msgs.nim
@@ -170,7 +170,7 @@ const
     errInvalidNumberOfYieldExpr: "invalid number of \'yield\' expressions", 
     errCannotReturnExpr: "current routine cannot return an expression", 
     errAttemptToRedefine: "redefinition of \'$1\'", 
-    errStmtInvalidAfterReturn: "statement not allowed after \'return\', \'break\' or \'raise\'", 
+    errStmtInvalidAfterReturn: "statement not allowed after \'return\', \'break\', \'raise\' or \'continue'", 
     errStmtExpected: "statement expected", 
     errInvalidLabel: "\'$1\' is no label", 
     errInvalidCmdLineOption: "invalid command line option: \'$1\'",