summary refs log tree commit diff stats
path: root/data/messages.yml
diff options
context:
space:
mode:
Diffstat (limited to 'data/messages.yml')
-rw-r--r--data/messages.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/messages.yml b/data/messages.yml
index b5b37c6c5..4a2154613 100644
--- a/data/messages.yml
+++ b/data/messages.yml
@@ -46,7 +46,7 @@
 {'errExceptionExpected': 'exception expected'},
 {'errExceptionAlreadyHandled': 'exception already handled'},
 {'errReturnNotAllowedHere': "'return' only allowed in routine"},
-{'errYieldNotAllowedHere': "'yield' only allowed in iterator"},
+{'errYieldNotAllowedHere': "'yield' only allowed in a loop of an iterator"},
 {'errInvalidNumberOfYieldExpr': "invalid number of 'yield' expresions"},
 {'errReturnInvalidInIterator': "'return' not allowed in iterator"},
 {'errCannotReturnExpr': 'current routine cannot return an expression'},
@@ -54,10 +54,10 @@
 {'errStmtInvalidAfterReturn':
   "statement not allowed after 'return', 'break' or 'raise'"},
 {'errStmtExpected': 'statement expected'},
-{'errYieldOnlyInInterators': "'yield' statement is only allowed in iterators"},
 {'errInvalidLabel': "'$1' is no label"},
 {'errInvalidCmdLineOption': "invalid command line option: '$1'"},
 {'errCmdLineArgExpected': "argument for command line option expected: '$1'"},
+{'errCmdLineNoArgExpected': "invalid argument for command line option: '$1'"},
 {'errInvalidVarSubstitution': "invalid variable substitution in '$1'"},
 {'errUnknownVar': "unknown variable: '$1'"},
 {'errUnknownCcompiler': "unknown C compiler: '$1'"},
@@ -105,7 +105,7 @@
   "argument to 'staticAssert' cannot be evaluated at compile time"},
 {'errDotRequiresRecordOrObjectType': "'.' requires a record or object type"},
 {'errUndeclaredFieldX': "undeclared field: '$1'"},
-{'errIndexNoIntType': 'index has to be an integer type'},
+{'errNilAccess': 'attempt to access a nil address'},
 {'errIndexOutOfBounds': 'index out of bounds'},
 {'errIndexTypesDoNotMatch': 'index types do not match'},
 {'errBracketsInvalidForType': "'[]' operator invalid for this type"},