src/Messages.tbl
changeset 241 18f3010a358c
parent 237 c77540a61905
child 245 9371f058625a
     1.1 --- a/src/Messages.tbl	Tue Dec 25 18:13:02 2012 -0800
     1.2 +++ b/src/Messages.tbl	Wed Dec 26 17:14:12 2012 -0800
     1.3 @@ -41,7 +41,6 @@
     1.4  MSG(ForwardDeclareMismatches,       SyntaxError,            "declaration does not match original forward signature")
     1.5  MSG(ArrayCantBeReference,           SyntaxError,            "this type cannot be used with a reference")
     1.6  MSG(ArraySizeMustBeConstant,        SyntaxError,            "array size must be a constant integer")
     1.7 -MSG(ReferenceIsConstant,            SyntaxError,            "cannot assign to a constant lvalue")
     1.8  MSG(MultiArrayInNative,             SyntaxError,            "multidimensional arrays cannot be passed to natives")
     1.9  MSG(InvalidVarArgs,                 SyntaxError,            "varargs cannot be const or ref")
    1.10  MSG(VarArgsOutsideNative,           SyntaxError,            "variadic arguments can only be specified on natives")
    1.11 @@ -80,4 +79,7 @@
    1.12  MSG(ImportsMustBeFirst,             SyntaxError,            "import statements must come before other statements")
    1.13  MSG(ImportedNameAlreadyBound,       TypeError,              "imported name has already been bound")
    1.14  MSG(CannotResolveImport,            TypeError,              "cannot resolve import %s")
    1.15 -MSG(InvalidCoercion,                TypeError,              "cannot coerce type '%s' to type '%s'")
    1.16 \ No newline at end of file
    1.17 +MSG(InvalidCoercion,                TypeError,              "cannot coerce type '%s' to type '%s'")
    1.18 +MSG(CannotConstReference,           TypeError,              "constant outparams are not allowed")
    1.19 +MSG(CannotModifyConst,              TypeError,              "cannot change constant value or structure")
    1.20 +MSG(InvalidConstOnFormal,           TypeError,              "const parameters must be arrays or structs")
    1.21 \ No newline at end of file