In a recent SO question, the following code appeared:

# define v putchar
#   define print(x) main(){v(4+v(v(52)-4));return 0;}/*
#>+++++++4+[>++++++<-]> ++++.----.++++.*/
print(202*2);exit();
#define/*>.@*/exit()

There is something distinctly odd about the syntax highlighting of the last line, though: [screenshot of problem]

See how a comment which is begun with a # appears to be ended by */? Even without knowing what language Prettify is assuming this code to be in (which is impossible to decide definitively in this case), this doesn't seem right, somehow. At least, I've never heard of any language with that comment syntax...

link|flag
I have a feeling it has something to do with the /* in the middle of the line. – Eldros Dec 2 at 9:14
Eldros: that may well be so. – SamB Dec 2 at 16:37

You must log in to answer this question.

Know someone who can answer? Share a link to this question via email, twitter, or facebook.

Browse other questions tagged