From owner-freebsd-hackers Tue Apr 25 19:07:02 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id TAA00398 for hackers-outgoing; Tue, 25 Apr 1995 19:07:02 -0700 Received: from cs.weber.edu (cs.weber.edu [137.190.16.16]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id TAA00358 ; Tue, 25 Apr 1995 19:06:28 -0700 Received: by cs.weber.edu (4.1/SMI-4.1.1) id AA03716; Tue, 25 Apr 95 19:59:29 MDT From: terry@cs.weber.edu (Terry Lambert) Message-Id: <9504260159.AA03716@cs.weber.edu> Subject: Re: #if instead of .if To: imp@village.org (Warner Losh) Date: Tue, 25 Apr 95 19:59:29 MDT Cc: asami@cs.berkeley.edu (Satoshi Asami | =?ISO-2022-JP?B?GyRCQHUbKEI=?= =?ISO-2022-JP?B?GyRCOCsbKEIgGyRCOC0bKEI=?=), rgrimes@gndrsh.aac.dev.com, hsu@freefall.cdrom.com, jkh@freefall.cdrom.com, hackers@freefall.cdrom.com In-Reply-To: <199504260046.SAA23052@rover.village.org> from "Warner Losh" at Apr 25, 95 06:46:01 pm X-Mailer: ELM [version 2.4dev PL52] Sender: hackers-owner@FreeBSD.org Precedence: bulk > : 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*/ Lint has a hell of a lot more than that! I guess you could argue precedent, if we had lint. ;^). Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers.