Re^2: Why nested comments not allowed?

Russel Dalenberg dalenber at cbnewsc.ATT.COM
Sun Feb 18 16:07:27 AEST 1990


In article <1523 at wacsvax.OZ>, chris at wacsvax.OZ (chris mcdonald) writes:

> I don't know why they are not supported but agree that they are damn
> useful. They are easy to parse in syntactically correct programs (ever
> heard of counting?) and, after all, the computer/compiler is supposed to
> do what we tell it, not for us to bow down and minimize its work.
> If its really too hard for you to count comments I'll sell you a little
> parser for a ridiculous amount.

And what will you do when trying to comment out code that contains the
"end of comment" sequence?

	printf("A comment is ended with */");


Russel Dalenberg

att!ihlpb!dalenber
dalenber at ihlpb.att.com



More information about the Comp.lang.c mailing list