automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch to allow spaces before double hashes


From: Pavel Roskin
Subject: Re: Patch to allow spaces before double hashes
Date: Mon, 14 May 2001 12:57:06 -0400 (EDT)

Hi, Tom!

> Could you submit a PR with this info in it?

Sorry, GNATS doesn't appear to work now. It shows that the PR has been
submitted (it would be nice if it at least would show the PR number), but
the PR it doesn't appear in the new query result.

Important detail - I'm logged in under my name "proski" but I don't have
edit access to Automake database.

> Ok, thanks.
> Could you see if the manual needs to be updated for this?

Yes. The submitted patch updates the documentation.

-- 
Regards,
Pavel Roskin

____________________________________________
--- ChangeLog   2001/05/14 12:14:37     1.1362
+++ ChangeLog   2001/05/14 16:14:58     1.1363
@@ -1,3 +1,9 @@
+2001-05-13  Pavel Roskin  <address@hidden>
+
+       * automake.in ($IGNORE_PATTERN): Allow spaces before comments
+       beginning with `##'.
+       * automake.texi (General Operation): Document it.
+
 2001-05-13  Tom Tromey  <address@hidden>

        Reported by Rainer Orth:
--- automake.in 2001/05/14 04:48:43     1.1119
+++ automake.in 2001/05/14 16:15:02     1.1120
@@ -110,7 +110,7 @@
 my $libdir = "@datadir@/@PACKAGE@";

 # String constants.
-my $IGNORE_PATTERN = '^##([^#\n].*)?\n';
+my $IGNORE_PATTERN = '^\s*##([^#\n].*)?\n';
 my $WHITE_PATTERN = '^\s*$';
 my $COMMENT_PATTERN = '^#';
 my $TARGET_PATTERN='[$a-zA-Z_.][-.a-zA-Z0-9_(){}/$]*';
--- automake.texi       2001/05/14 04:48:43     1.206
+++ automake.texi       2001/05/14 16:15:03     1.207
@@ -271,8 +271,8 @@
 @cindex Comment, special to Automake

 Automake also allows a form of comment which is @emph{not} copied into
-the output; all lines beginning with @samp{##} are completely ignored by
-Automake.
+the output; all lines beginning with @samp{##} (leading spaces allowed)
+are completely ignored by Automake.

 It is customary to make the first line of @file{Makefile.am} read:

____________________________________________





reply via email to

[Prev in Thread] Current Thread [Next in Thread]