[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVS autoconf ifnames and C++ comments
From: |
Akim Demaille |
Subject: |
Re: CVS autoconf ifnames and C++ comments |
Date: |
Thu, 02 Oct 2003 14:49:17 +0200 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
> It seems that CVS autoconf ifnames, does not handle C++ comments. I
> thought it was already supported, as a ChangeLog entry claims :
> 2003-04-08 Akim Demaille <address@hidden>
> * bin/ifnames.in: Skip C++ comments.
> From Jeremy Yallop.
How bizarre... Thanks, I installed it.
Index: ChangeLog
from Akim Demaille <address@hidden>
* bin/ifnames.in (&scan_file): Skip C++ comments.
From Jeremy Yallop.
Index: bin/ifnames.in
===================================================================
RCS file: /cvsroot/autoconf/autoconf/bin/ifnames.in,v
retrieving revision 1.29
diff -u -u -r1.29 ifnames.in
--- bin/ifnames.in 16 May 2003 09:54:47 -0000 1.29
+++ bin/ifnames.in 2 Oct 2003 12:46:53 -0000
@@ -107,6 +107,7 @@
# Remove comments. Not perfect, but close enough.
s(/\*.*?\*/)();
s(/\*.*)();
+ s(//.*)();
foreach my $word (split (/\W+/))
{
next