Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!ux1.cso.uiuc.edu!news.iastate.edu!sharkey!tygra!dave From: dave@tygra.UUCP (David Conrad) Newsgroups: comp.lang.c Subject: Re: Yet Another Argument for Nested Comments Message-ID: <1991Feb1.091225.28034@tygra.UUCP> Date: 1 Feb 91 09:12:25 GMT References: <1991Jan28.205309.2836@unislc.uucp> <572@taumet.com> Organization: CAT-TALK Conferencing Network, Detroit, MI Lines: 25 Well, Turbo C++ 1.00 behaved on the program: /* unterminated comment void main(void) { puts("Hello, world!"); } /* I wonder, will it compile? */ as follows: In the normal mode it produced an `empty' object file and produced no warnings or errors. With nested comments turned on (tcc -C test) it complained `Error test.c 3: Unexpected end of file in comment started on line 1' and stopped the compile. -- David Conrad tygra!dave@uunet.uu.net tygra!dave@sharkey.cc.umich.edu -- = CAT-TALK Conferencing Network, Computer Conferencing and File Archive = - 1-313-343-0800, 300/1200/2400/9600 baud, 8/N/1. New users use 'new' - = as a login id. AVAILABLE VIA PC-PURSUIT!!! (City code "MIDET") = E-MAIL Address: dave@DDMI.COM