Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 1995 18:46:01 -0600
From:      Warner Losh <imp@village.org>
To:        asami@cs.berkeley.edu (Satoshi Asami | =?ISO-2022-JP?B?GyRCQHUbKEI=?= =?ISO-2022-JP?B?GyRCOCsbKEIgGyRCOC0bKEI=?=)
Cc:        rgrimes@gndrsh.aac.dev.com, hsu@freefall.cdrom.com, jkh@freefall.cdrom.com, hackers@freefall.cdrom.com
Subject:   Re: #if instead of .if 
Message-ID:  <199504260046.SAA23052@rover.village.org>
In-Reply-To: Your message of Fri, 21 Apr 1995 23:12:22 PDT

next in thread | raw e-mail | index | archive | help
: you can't use #.  See how much trouble the X/imake folks go through
: (use XCOMM in their Imakefile, which are replaced with # for Makefile, 
: ugh) to avoid this problem.

That is done because cpp on some systems whines loudly or refuses to
work when you don't have a valid directive name after the #.  It has
little to do with the comment directive duality.

In fact, many languages use this:
	1) Dec Fortran has CDEC xxx in column 1 (a comment by any
		other name...
	2) lint has /*NOTREACHED*/
	3) Various flavors of pascal use (*$XXX=YYY*)

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504260046.SAA23052>