[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \ at the end of a comment is not ignored.
From: |
Paul D. Smith |
Subject: |
Re: \ at the end of a comment is not ignored. |
Date: |
Fri, 2 Aug 2002 18:02:50 -0400 |
%% "Sanjeeb Sahoo" <address@hidden> writes:
ss> Looks like the '\' character at the end of a comment continues to
ss> have the same special meaning. Please refer to the 3 liner
ss> makefile attached here with. when I invoke make, I get the
ss> following error... Makefile:3: *** commands commence before first
ss> target. Stop.
ss> When I remove the \ char fro the comment, it works fine. Should
ss> make not disable the special meaning of \ when it sees it in a
ss> comment line?
No. The POSIX standard requires the current behavior.
IEEE Std 1003.1-2001, Chapter 4--Utilities, Section "make":
23527 Comments start with a number sign ('#') and continue until an
unescaped <newline> is
23528 reached.
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist