]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* bin/ifnames.in (&scan_file): Skip C++ comments.
authorAkim Demaille <akim@epita.fr>
Thu, 2 Oct 2003 12:47:47 +0000 (12:47 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 2 Oct 2003 12:47:47 +0000 (12:47 +0000)
ChangeLog
bin/ifnames.in

index 1033fd57cfdce0a4d1315451aef469777719a280..e23fcf4058d898241fd241da3eacf772c728c321 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-02  Akim Demaille  <akim@epita.fr>
+
+       * bin/ifnames.in (&scan_file): Skip C++ comments.
+        From Jeremy Yallop.
+
 2003-10-01  Pavel Roskin  <proski@gnu.org>
 
        * doc/autoconf.texi (Particular Structure Checks):
index 5d6c6ceeedfa48a12eaa60203a7948ef13061c61..5bc79bed64f63bf673bc60db0c29cf75554671ef 100644 (file)
@@ -107,6 +107,7 @@ sub scan_file ($)
          # Remove comments.  Not perfect, but close enough.
          s(/\*.*?\*/)();
          s(/\*.*)();
+         s(//.*)();
          foreach my $word (split (/\W+/))
            {
              next