[Mono-bugs] [Bug 77032][Nor] Changed - gmcs error
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Dec 19 16:02:20 EST 2005
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 miguel at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=77032
--- shadow/77032 2005-12-19 07:05:13.000000000 -0500
+++ shadow/77032.tmp.24223 2005-12-19 16:02:20.000000000 -0500
@@ -3,13 +3,13 @@
Version: 1.1
OS: GNU/Linux [Other]
OS Details:
Status: NEW
Resolution:
Severity: Unknown
-Priority: Wishlist
+Priority: Normal
Component: C#
AssignedTo: rharinath at novell.com
ReportedBy: ddulai at bloomberg.net
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
@@ -37,6 +37,26 @@
Mono C# compiler version 1.1.11.0
------- Additional Comments From rharinath at novell.com 2005-12-19 07:05 -------
This is somewhat hard to do with the current codebase. We eventually
need a backtracking parser to implement the generics grammar.
+
+------- Additional Comments From miguel at ximian.com 2005-12-19 16:02 -------
+Using a better parser would be nice, but we can not afford to redo the
+parser at this point. Errors like this will be fairly common.
+
+The good news is that this should be relatively easy to fix, the
+tokenizer has a routine that tries to determine if what follows a "<"
+is a generic expression or not.
+
+This routine basically is basically a micro-parser only for
+expressions and it only has to determine if something is a generic
+expression or not.
+
+Notice that this micro-parsing would also be needed for a new compiler
+as the grammar is ambiguous. It was explicitly spelled out that this
+would require a custom tokenizer in the ecma meetings.
+
+So all we have to do is to improve our micro-parser in "parse_less_than".
+
+Maybe Martin should look into this though
More information about the mono-bugs
mailing list