[phc-general] php syntax error?

Edsko de Vries edsko at phpcompiler.org
Mon Oct 15 14:40:13 CEST 2007


Hi Arkadiy,

I must say, I am impressed that you found a bug in the parser. It's been
a long time we've changed anything in that part of phc :-) It took me a
while to figure out what is going on, but I think I found the problem:
you have "</script>" somewhere in a comment, and apparently phc is
tripped up by end-of-script tags inside comments. So, a workaround is to
remove that from your script (it's in a comment)--and I'll try to fix
phc.

Thanks!

Edsko


More information about the phc-general mailing list