Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 beta 3/9/83; site ukma.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!ihnp4!cbosgd!mddc!qusavx!ukma!david From: david@ukma.UUCP (David Herron) Newsgroups: net.lang.c Subject: Re: Re: Re: Standardization questions -- Message-ID: <271@ukma.UUCP> Date: Wed, 7-Nov-84 15:25:23 EST Article-I.D.: ukma.271 Posted: Wed Nov 7 15:25:23 1984 Date-Received: Tue, 13-Nov-84 06:25:07 EST References: <5367@brl-tgr.UUCP>, <7200003@hpdsa.UUCP> Organization: Univ. of KY Mathematical Sciences Lines: 15 > A solution to this problem is suggested by the comment style of Ada, which > is that portions of lines beginning with '--' are ignored. Since > this would be rather unacceptable in C, and we want the preprocessor to > handle it, the rule that leaps to mind is: > > Lines or portions of lines beginning with '##' are ignored, except > within single or double quotes, or within the /* other kind of */ comment. > This rule applies even if the remainder of the line contains '/*'. > The comment style is the only thing out of Ada I like. I would go for that kind of comment style in C too. The /* other kind of */ comment is d*mn inconvenient sometimes too.