[Mono-bugs] [Bug 59289][Nor] Changed - gmcs: grammar problem with <, >

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 4 Jun 2004 16:43:22 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by martin@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=59289

--- shadow/59289	2004-06-03 16:41:13.000000000 -0400
+++ shadow/59289.tmp.659	2004-06-04 16:43:22.000000000 -0400
@@ -11,13 +11,13 @@
 AssignedTo: martin@ximian.com                            
 ReportedBy: duncan@ximian.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: The grammar for generics misparses
+Summary: gmcs: grammar problem with <, >
 
 mcs compiles this code just fine. With gmcs, we get this error:
 
 ALPHA SOFTWARE: Mono C# Compiler 0.91.99.0 for Generics
 syntax error, got token `OP_GENERICS_LT', expecting AS IS CLOSE_BRACE
 OPEN_BRACKET CLOSE_BRACKET OPEN_PARENS CLOSE_PARENS DOT COMMA COLON
@@ -34,6 +34,9 @@
 
 Line 713 of DeflaterHuffman.cs says:
 
 if (storedOffset >= 0 && storedLength+4 < opt_len >> 3) {
 
 There shouldn't be an OP_GENERIC_LT there.
+
+------- Additional Comments From martin@ximian.com  2004-06-04 16:43 -------
+As a workaround, just add the ()'s.