On Sun, 13 Aug 2000, Ketil Froyn wrote:

> Unless, of course, someone puts // in a string, eg:
> printf("//\n");
> 
> But this probably never happens in the plex86 source?

Well, this is an example of why hacks like this are a bad idea. Certainly,
one can search the source to remove all such comments, but it also means
than any future code has to follow this as well. That is, has to follow a
convention which is neither C nor C++. Of course, there's also the problem
of someone including a */ in a // comment, etc.

Or, one could just make the translator more complex...

Phil


Reply via email to