Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRavi Pratap M <ravi@mono-cvs.ximian.com>2001-08-31 07:35:11 +0400
committerRavi Pratap M <ravi@mono-cvs.ximian.com>2001-08-31 07:35:11 +0400
commit6b8008cfd9c71f976085ecea65bef953246c4754 (patch)
treed96d6cf6b87f3fdbc940089abcf686a9c6a11a21 /mcs/errors/errors.txt
parent73933c6bc1fafa4385819c8ebb3f5fddb8f4b049 (diff)
2001-08-31 Ravi Pratap <ravi@che.iitm.ac.in>
* cs-parser.jay (overloadable_operator): The semantic value is an enum of the Operator class. (operator_declarator): Implement actions. (operator_declaration): Implement. * class.cs (Operator::CheckUnaryOperator): New static method to help in checking validity of definitions. (Operator::CheckBinaryOperator): Static method to check for binary operators (TypeContainer::AddOperator): New method to add an operator to a type. * cs-parser.jay (indexer_declaration): Added line to actually call the AddIndexer method so it gets added ;-) * ../errors/errors.txt : Update to include new error numbers. Are these numbers already taken care of by the MS compiler ? 2001-08-29 Ravi Pratap <ravi@che.iitm.ac.in> * class.cs (Operator): New class for operator declarations. (Operator::OpType): Enum for the various operators. svn path=/trunk/mcs/; revision=688
Diffstat (limited to 'mcs/errors/errors.txt')
-rwxr-xr-xmcs/errors/errors.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/mcs/errors/errors.txt b/mcs/errors/errors.txt
index ea7cd6eba1d..721ce6fa842 100755
--- a/mcs/errors/errors.txt
+++ b/mcs/errors/errors.txt
@@ -12,4 +12,8 @@ numbers to match the Microsoft numbers:
-3 Constant type is not one of sbyte, byte, short, ushort, int,
uint, long, ulong, char, float, double, decimal, bool, string, enum
- or null type. \ No newline at end of file
+ or null type.
+
+-4 Operator should be unary
+
+-5 Operator should be binary