[Mono-bugs] [Bug 76978][Wis] New - ilasm unable to parse uint8 as unsigned int8

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Dec 13 05:31:09 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 ck at carlo-kok.com.

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

--- shadow/76978	2005-12-13 05:31:09.000000000 -0500
+++ shadow/76978.tmp.16263	2005-12-13 05:31:09.000000000 -0500
@@ -0,0 +1,79 @@
+Bug#: 76978
+Product: Mono: Compilers
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: IL assembler
+AssignedTo: jankit at novell.com                            
+ReportedBy: ck at carlo-kok.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ilasm unable to parse uint8 as unsigned int8
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+mono ilasm is unable to parse uint8 for unsigned int8
+
+Steps to reproduce the problem:
+1. compile il file below
+
+Actual Results:
+
+Assembling 'mono-arraybug1.il' , no listing file, to exe -->
+'mono-arraybug1.exe'
+
+syntax error, got token `ID'
+Error at: line (28) column (24)
+
+Unhandled Exception: Mono.ILASM.yyParser.yyException: irrecoverable syntax
+error
+in <0x00ef3> Mono.ILASM.ILParser:yyparse (yyInput yyLex)
+in <0x0008c> Mono.ILASM.ILParser:yyparse (yyInput yyLex, System.Object yyd)
+in <0x001eb> Mono.ILASM.Driver+DriverMain:ProcessFile (System.String file_path)
+
+
+Expected Results:
+Successful compilation
+
+Additional Information:
+.assembly extern mscorlib
+{
+  .publickeytoken = (B7 7A 5C 56 19 34 E0 89 )                         //
+.z\V.4..
+  .ver 2:0:0:0
+}
+.assembly Output
+{
+
+  .ver 1:0:0:0
+}
+.module Output
+.imagebase 0x00400000
+.file alignment 0x00000200
+.stackreserve 0x00100000
+.subsystem 0x0003       // WINDOWS_CUI
+.corflags 0x00000001    //  ILONLY
+
+.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 (uint8 V_0)
+     ret
+  }
+}
+}


More information about the mono-bugs mailing list