[Mono-bugs] [Bug 70809][Wis] New - ilasm incorrectly parses .module declaration, even coming from monodis

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 26 Dec 2004 00:03:27 -0500 (EST)


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 adamm@san.rr.com.

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

--- shadow/70809	2004-12-26 00:03:27.000000000 -0500
+++ shadow/70809.tmp.9426	2004-12-26 00:03:27.000000000 -0500
@@ -0,0 +1,37 @@
+Bug#: 70809
+Product: Mono: Compilers
+Version: unspecified
+OS: All
+OS Details: tested on mono 1.04 (iirc) for GNU/Linux
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: IL assembler
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: adamm@san.rr.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ilasm incorrectly parses .module declaration, even coming from monodis
+
+Description of Problem:
+ilasm fails to parse the following line, which was generated by monodis:
+
+  .module extern libFoo-1.2
+
+I don't have a copy of the code in front of me, but it complained about
+finding a FLOAT64, so I'm assuming the tokenizer stops after libFoo, and
+then reads -1.2 as a number. I tried surrounding libFoo-1.2 with quotes,
+but then it complained about the quotation mark.
+
+Actual Results:
+ilasm fails with a parse error on the above line.
+
+Expected Results:
+I expect that either ilasm parse the above line properly, or that monodis
+output something that ilasm can parse.
+
+How often does this happen? 
+Consistently.