On Fri, Oct 16, 2009 at 6:15 PM, Smjert <[email protected]> wrote: > I have a multiline if with lots of condition and the Mono compiler (1.9.1) > when compile the source code stops giving "error CS8025: Parsing error". > Here's the example: > > if(a = b || b != c > || d < c > .... > || f > h) > return true; <--- this is the line where the parsing error occurs. > > This source code compile with the Windows C# compiler.. what's wrong with > it? > Is the problem the conditions splitted into multiple lines (but they are a > lot... it will result "ugly" to have them on one line)?
The newlines should be ignored entirely. Can you paste the entire method so we can see the code? -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
