From b92852c716773064d16df1a3f7958531ed40b79b Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Wed, 9 Jun 2004 18:14:43 +0000 Subject: [PATCH] This error checking rule was never applied due to a reduce/reduce conflict. svn path=/trunk/mcs/; revision=29128 --- mcs/gmcs/ChangeLog | 4 ++++ mcs/gmcs/cs-parser.jay | 12 ------------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/mcs/gmcs/ChangeLog b/mcs/gmcs/ChangeLog index 3fb8fb208be..db2e7338c22 100755 --- a/mcs/gmcs/ChangeLog +++ b/mcs/gmcs/ChangeLog @@ -1,3 +1,7 @@ +2004-06-09 Martin Baulig + + * cs-parser.jay: Removed a reduce/reduce conflict. + 2004-06-03 Martin Baulig * generic.cs (ConstructedType.GetMemberAccess): Renamed to diff --git a/mcs/gmcs/cs-parser.jay b/mcs/gmcs/cs-parser.jay index a84d7c8f514..44fc7ec9ff4 100755 --- a/mcs/gmcs/cs-parser.jay +++ b/mcs/gmcs/cs-parser.jay @@ -3063,18 +3063,6 @@ class_declaration $$ = new_class; } - | opt_attributes - opt_modifiers - CLASS IDENTIFIER - { - lexer.ConstraintsParsing = true; - } - WHERE { - Report.Error (80, lexer.Location, - "Contraints are not allowed on non-generic declarations"); - yyErrorFlag = 0; - $$ = null; - } ; opt_modifiers -- 2.25.1