[Mono-bugs] [Bug 35214][Min] New - preprocessor || expression resolution

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
6 Dec 2002 19:50:19 -0000

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 f_azi@hotmail.com.


--- shadow/35214	Fri Dec  6 14:50:19 2002
+++ shadow/35214.tmp.10195	Fri Dec  6 14:50:19 2002
@@ -0,0 +1,25 @@
+Bug#: 35214
+Product: Mono/MCS
+Version: unspecified
+OS Details: 
+Status: NEW   
+Priority: Minor
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: f_azi@hotmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: preprocessor || expression resolution
+Description of Problem:
+The tokenizer fails parsing some correct expressions. Statements like:
+#if LABEL1 || LABEL2 || LABEL3 || LABEL4
+I think the problem is in 'pp_expr', once 'LABEL1 ||' is recognized then 
+pp_and is called, but from inside pp_and there is no way of parsing a 'e 
+|| e'.