diff -r e3c851a14f16 -r 18f3010a358c src/Messages.tbl --- a/src/Messages.tbl Tue Dec 25 18:13:02 2012 -0800 +++ b/src/Messages.tbl Wed Dec 26 17:14:12 2012 -0800 @@ -41,7 +41,6 @@ MSG(ForwardDeclareMismatches, SyntaxError, "declaration does not match original forward signature") MSG(ArrayCantBeReference, SyntaxError, "this type cannot be used with a reference") MSG(ArraySizeMustBeConstant, SyntaxError, "array size must be a constant integer") -MSG(ReferenceIsConstant, SyntaxError, "cannot assign to a constant lvalue") MSG(MultiArrayInNative, SyntaxError, "multidimensional arrays cannot be passed to natives") MSG(InvalidVarArgs, SyntaxError, "varargs cannot be const or ref") MSG(VarArgsOutsideNative, SyntaxError, "variadic arguments can only be specified on natives") @@ -80,4 +79,7 @@ MSG(ImportsMustBeFirst, SyntaxError, "import statements must come before other statements") MSG(ImportedNameAlreadyBound, TypeError, "imported name has already been bound") MSG(CannotResolveImport, TypeError, "cannot resolve import %s") -MSG(InvalidCoercion, TypeError, "cannot coerce type '%s' to type '%s'") \ No newline at end of file +MSG(InvalidCoercion, TypeError, "cannot coerce type '%s' to type '%s'") +MSG(CannotConstReference, TypeError, "constant outparams are not allowed") +MSG(CannotModifyConst, TypeError, "cannot change constant value or structure") +MSG(InvalidConstOnFormal, TypeError, "const parameters must be arrays or structs") \ No newline at end of file