From: Gennady Bystritksy Date: 2005-01-15T06:45:32+09:00 Subject: Re: why dosn't ruby support // to comment? Florian Gross wrote: > Zsban Ambrus wrote: > >> (But note that the // comment could be normal syntax in C too before >> it was >> accepted by C99, for example this expression >> >> 9//*foo*/2 >> >> has different meaning in traditional C and C99.) > > > What does it do? > Even when using modern gcc, if you specify option "--traditional", this expression will be compiled without errors as "9/2". Without this option, gcc interprets "//" as the beginning of a line comment with all consequences. Gennady.