Nested Comments in C -- A recent experience

David Michael Shackelford dms at cs.arizona.edu
Sat Apr 7 16:34:00 AEST 1990


In article <1060001 at hparc0.HP.COM>, graham at hparc0.HP.COM (Graham Eddy) writes:
> In my _humble_ opinion, I would like to be given a list of the
> C compilers that suport the non-standard feature of nested comments.
> As a previous item noted, it would break the majority of portable
> code, and I want to know which compilers to avoid.

Since everyone is saying that nested comments are *non-standard*, why would
a compiler's inclusion of the nested comment feature break programs?  How
can this break a program which doesn't contain any nested comments? I'm
not advocating the use of this feature, but IMHO an "extension" must have
some potential use, or the compiler wouldn't have it.   

Dave    | dms at cs.arizona.edu        



More information about the Comp.lang.c mailing list