Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

In ilasm/tests:

	* test-array.il: New. Test for tokenizing 0...8

In ilasm/scanner:
	* NumberHelper.cs (NumberHelper.Build): Set dec_found to false, if a '..' is
	found after a number so that it is parsed as INT64 and not FLOAT64.
	Fix #76977.

svn path=/trunk/mcs/; revision=54355
  • Loading branch information...
commit d9c59eecda41ab3350eb6016389545cad7616475 1 parent d6138e0
@radical radical authored
View
6 mcs/ilasm/scanner/ChangeLog
@@ -1,5 +1,11 @@
2005-12-14 Ankit Jain <jankit@novell.com>
+ * NumberHelper.cs (NumberHelper.Build): Set dec_found to false, if a '..' is
+ found after a number so that it is parsed as INT64 and not FLOAT64.
+ Fix #76977.
+
+2005-12-14 Ankit Jain <jankit@novell.com>
+
* ILTables.cs (keywords): Add uint8, uint16, uint32 and uint64 keywords.
2005-11-28 Ankit Jain <jankit@novell.com>
View
1  mcs/ilasm/scanner/NumberHelper.cs
@@ -113,6 +113,7 @@ public override string Build ()
if (ch == '.' && peek == '.') {
num = num.Substring (0, num.Length-1);
reader.Unread ('.');
+ dec_found = false;
} else if (ch == '.') {
num += '0';
}
View
4 mcs/ilasm/tests/ChangeLog
@@ -1,5 +1,9 @@
2005-12-14 Ankit Jain <jankit@novell.com>
+ * test-array.il: New. Test for tokenizing 0...8
+
+2005-12-14 Ankit Jain <jankit@novell.com>
+
* test-uint.il: New. Test for keywords uint8, uint16, uint32 & uint64.
2005-12-14 Ankit Jain <jankit@novell.com>
View
40 mcs/ilasm/tests/test-array.il
@@ -0,0 +1,40 @@
+//Test for tokenizing : 0...8
+//Bug# 76977
+
+.namespace MonoTest
+{
+.class private auto autochar beforefieldinit ConsoleApp extends
+[mscorlib]System.Object
+{
+ .method assembly hidebysig static void
+ Test() cil managed
+ {
+ // Code size 74 (0x4a)
+ .maxstack 2
+
+ .locals init (unsigned int8[0...8] V_0)
+
+ ret
+ }
+}
+}
+//Test for tokenizing : 0...8
+//Bug# 76977
+
+.namespace MonoTest
+{
+.class private auto autochar beforefieldinit ConsoleApp extends
+[mscorlib]System.Object
+{
+ .method assembly hidebysig static void
+ Test() cil managed
+ {
+ // Code size 74 (0x4a)
+ .maxstack 2
+
+ .locals init (unsigned int8[0...8] V_0)
+
+ ret
+ }
+}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.