[Monodevelop-patches-list] r2264 - in trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory: . src/Lexer src/Parser/generated
John Luke <jluke@cfl.rr.com>
jluke at mono-cvs.ximian.com
Mon Feb 21 21:40:03 EST 2005
Author: jluke
Date: 2005-02-21 21:39:55 -0500 (Mon, 21 Feb 2005)
New Revision: 2264
Added:
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/TODO
Modified:
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Lexer/Lexer.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Makefile
Log:
flush
Added: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/TODO
===================================================================
--- trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/TODO 2005-02-20 21:00:30 UTC (rev 2263)
+++ trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/TODO 2005-02-22 02:39:55 UTC (rev 2264)
@@ -0,0 +1,5 @@
+- fix double.TryParse bug
+- add C# 2.0 features
+ option 1 - wait to see if SD writes 2.0 stuff
+ option 2 - write it ourselves based on current one
+ option 3 - use gmcs parser
Modified: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Lexer/Lexer.cs
===================================================================
--- trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Lexer/Lexer.cs 2005-02-20 21:00:30 UTC (rev 2263)
+++ trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Lexer/Lexer.cs 2005-02-22 02:39:55 UTC (rev 2264)
@@ -374,6 +374,7 @@
}
double d = 0;
+ // FIXME: http://bugzilla.ximian.com/show_bug.cgi?id=72221
if (!Double.TryParse(digit, ishex ? NumberStyles.HexNumber : NumberStyles.Integer, null, out d)) {
errors.Error(y, x, String.Format("Can't parse integral constant {0}", digit));
return new Token(Tokens.Literal, x, y, stringValue.ToString(), 0);
Modified: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Makefile
===================================================================
--- trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Makefile 2005-02-20 21:00:30 UTC (rev 2263)
+++ trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Makefile 2005-02-22 02:39:55 UTC (rev 2264)
@@ -1,7 +1,12 @@
-SHARPCOCO = mono ../../../../Tools/SharpCoco/SharpCoco.exe
+RUNTIME = mono
+NAMESPACE = ICSharpCode.SharpRefactory.Parser
+GRAMMAR = cs.ATG
+SHARPCOCO = ../../../../Tools/SharpCoco/SharpCoco.exe
-all:
- $(SHARPCOCO) -namespace ICSharpCode.SharpRefactory.Parser cs.ATG
+all: Parser.cs
+
+Parser.cs: $(GRAMMAR) $(SHARPCOCO)
+ $(RUNTIME) $(SHARPCOCO) -namespace $(NAMESPACE) $(GRAMMAR)
rm -f Parser.old.cs
More information about the Monodevelop-patches-list
mailing list