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
path: root/mcs/ilasm
diff options
context:
space:
mode:
authorAnkit Jain <radical@corewars.org>2008-03-04 22:47:03 +0300
committerAnkit Jain <radical@corewars.org>2008-03-04 22:47:03 +0300
commitde17389dd9dbc78e311a1c4c355020037e00de39 (patch)
treefaeb2fda8ff0a053087f6db79dd3f58f7a6b3dcf /mcs/ilasm
parent470ef72d64f0c61984467b9c7e325340d0542748 (diff)
Fix bug #367024.
* ILParser.jay (seh_clause): catch can take generic class refs also. svn path=/trunk/mcs/; revision=97348
Diffstat (limited to 'mcs/ilasm')
-rw-r--r--mcs/ilasm/parser/ChangeLog5
-rw-r--r--mcs/ilasm/parser/ILParser.jay2
2 files changed, 6 insertions, 1 deletions
diff --git a/mcs/ilasm/parser/ChangeLog b/mcs/ilasm/parser/ChangeLog
index 48fd2e2502f..1487995d4d7 100644
--- a/mcs/ilasm/parser/ChangeLog
+++ b/mcs/ilasm/parser/ChangeLog
@@ -1,3 +1,8 @@
+2008-03-05 Ankit Jain <jankit@novell.com>
+
+ Fix bug #367024.
+ * ILParser.jay (seh_clause): catch can take generic class refs also.
+
2008-01-03 Rodrigo Kumpera <rkumpera@novell.com>
* ILParser.jay: Fixed typo in EmitByteInstr class name.
diff --git a/mcs/ilasm/parser/ILParser.jay b/mcs/ilasm/parser/ILParser.jay
index e98debf2c4c..786facb5b81 100644
--- a/mcs/ilasm/parser/ILParser.jay
+++ b/mcs/ilasm/parser/ILParser.jay
@@ -2298,7 +2298,7 @@ seh_clauses : seh_clause
}
;
-seh_clause : K_CATCH class_ref handler_block
+seh_clause : K_CATCH generic_class_ref handler_block
{
if ($2.GetType () == typeof (PrimitiveTypeRef))
Report.Error ("Exception not be of a primitive type.");