Unterminated comments
phil at RICE.ARPA
phil at RICE.ARPA
Mon Oct 15 12:53:19 AEST 1984
From: William LeFebvre <phil at RICE.ARPA>
> (1) Nested comments /* ... A ... /* ... B ... */ ... A ... */
> (2) Comment-to-end-of-line // ...
> (1) would also give an "unterminated comment starting on line nnn" error
> if a close-comment */ were omitted, thereby addressing in a different
> way the issue this note is a response to.
NO!!! You do NOT want to do that. Many people (myself included) write
block comments that purposefully span several lines. I like that style.
DO NOT force me to change it! I don't even want to see warning messages
about it.
/*
* William LeFebvre
* Department of Computer Science
* Rice University
* <phil at Rice.arpa>
*/
More information about the Comp.lang.c
mailing list