For something like
//@cc_on
//@if(@_win32)
//@ document.write("IE windows");
//@else
document.write("Others");
//@end
Also block comments. I probably should require complete statements inside
comments, ie. not:
//@cc_on
var ieWin = /*@if(@_win32) true @else@*/ false /*@end@*/
As I don't want to have to think about inserting semi-colons for weird
cases.
Need to also think about how this will interact with declared variables -
maybe disallow declaring variable inside a comment statement.
Original issue reported on code.google.com by dnl...@gmail.com on 18 Feb 2007 at 10:29
Original issue reported on code.google.com by
dnl...@gmail.com
on 18 Feb 2007 at 10:29