[Mono-bugs] [Bug 50207][Nor] New - define statements not compiled when including digits

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 27 Oct 2003 16:03:18 -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 michaeld@3vium.com.

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

--- shadow/50207	2003-10-27 16:03:18.000000000 -0500
+++ shadow/50207.tmp.31867	2003-10-27 16:03:18.000000000 -0500
@@ -0,0 +1,46 @@
+Bug#: 50207
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: michaeld@3vium.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: define statements not compiled when including digits
+
+Description of Problem: 
+ 
+When #define statement including digits in the names, compilation fails 
+ 
+Steps to reproduce the problem: 
+try to compile following code, using mcs -target:library test.cs 
+ 
+----------------------------------------------------- 
+#define DATA_ACCESS_MSSQL 
+#undef DATA_ACCESS_DB2 
+ 
+namespace Trivium.DataAccess 
+{ 
+} 
+----------------------------------------------------- 
+ 
+Actual Results: 
+mcs returns with error message 
+test.cs(2) error CS1001: Identifier expected 
+Compilation failed: 1 error(s), 0 warnings 
+ 
+Expected Results: 
+MS csc compiles same code successfully 
+ 
+How often does this happen?  
+ 
+ 
+Additional Information: