diff --git a/ssc/exceptions.cs b/ssc/exceptions.cs index cd330b5..9dd9668 100644 --- a/ssc/exceptions.cs +++ b/ssc/exceptions.cs @@ -159,6 +159,16 @@ namespace arookas } } + class sunAssignConstantException : sunNodeException + { + public override string Message { get { return String.Format("Constant '{0}' is read-only.", Node.Value); } } + + public sunAssignConstantException(sunIdentifier node) + : base(node) + { + + } + } class sunRedeclaredParameterException : sunNodeException { public override string Message { get { return String.Format("Redeclared parameter '{0}'.", Node.Value); } }