From owner-freebsd-hackers Sat May 9 01:31:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA12772 for freebsd-hackers-outgoing; Sat, 9 May 1998 01:31:10 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ceia.nordier.com (slip139-92-122-77.joh.za.ibm.net [139.92.122.77]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA12761 for ; Sat, 9 May 1998 01:31:00 -0700 (PDT) (envelope-from rnordier@iafrica.com) Received: (from rnordier@localhost) by ceia.nordier.com (8.8.8/8.6.12) id KAA04497; Sat, 9 May 1998 10:23:24 +0200 (SAT) From: Robert Nordier Message-Id: <199805090823.KAA04497@ceia.nordier.com> Subject: Re: Make In-Reply-To: from Chuck Robey at "May 8, 98 05:37:19 pm" To: chuckr@glue.umd.edu (Chuck Robey) Date: Sat, 9 May 1998 10:23:23 +0200 (SAT) Cc: FreeBSD-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Chuck Robey wrote: > Anybody know if BSD4.4 make has, at any time, used the "#" symbol for > anything else _except_ the introduction of the comment? I have someone > telling me that it was used in early 4.4 to introduce the "include", I'm > very skeptical about this, and I'd like anyone who can tell me for > certain to let me know, thanks. This was true of earlier versions of make (originally PMake), which supported cpp-like #if, #undef, #include, etc. directives. You can still find some traces in the source. For example, in parse.c, Parse_File(), see the logic preceding the lines if (*line == '#') { /* If we're this far, the line must be a comment. */ goto nextLine; } Incidentally, /usr/share/doc/psd/12.make documents the '#' rather than the '.' forms. -- Robert Nordier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message