Path: utzoo!attcan!uunet!cs.utexas.edu!texbell!sugar!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.lang.c Subject: Re: Nested Comments in C -- A recent experience Message-ID: <=XR2782ggpc2@ficc.uu.net> Date: 7 Apr 90 16:40:45 GMT References: <5418@jarthur.Claremont.EDU> <1060001@hparc0.HP.COM> <207@caslon.cs.arizona.edu> Reply-To: peter@ficc.uu.net (Peter da Silva) Organization: Xenix Support, FICC Lines: 17 In article <207@caslon.cs.arizona.edu> dms@cs.arizona.edu (David Michael Shackelford) writes: > Since everyone is saying that nested comments are *non-standard*, why would > a compiler's inclusion of the nested comment feature break programs? From B News source, file "defs.h". Consider what this code looks like to the compiler if comments nest: /* Default xmit command - remove -z if */ #define DFTXMIT "uux - -r -n %s!rnews < %s" /* your uux can't do it */ /* #define UXMIT "uux -r -z -c %s!rnews '<' %s" /* If uux -c is ok */ #define DFTEDITOR "aed" /* Default editor, see also postnews. */ /* #define UUPROG "euuname" /* omit for uuname, put in LIBDIR */ #define MANUALLY /* Don't execute rmgroups, just notify. */ #define NONEWGROUPS /* Don't create new groups, just notify.*/ /* #define SPOOLNEWS /* Spool incoming rnews, don't process */ /* #define SPOOLINEWS /* Spool local inews, don't process */ /* #define LOCALNAME /* There is no full name database. */ -- _--_|\ `-_-' Peter da Silva. +1 713 274 5180. . / \ 'U` \_.--._/ v