diff options
author | Akim Demaille <akim@epita.fr> | 2003-10-02 12:47:47 +0000 |
---|---|---|
committer | Akim Demaille <akim@epita.fr> | 2003-10-02 12:47:47 +0000 |
commit | 2c222091ff33e5baef6b6d772098e921175f61f7 (patch) | |
tree | 93c2f1c59f30bce24008926d81b9f8c0d9cffbe1 /bin/ifnames.in | |
parent | 1ff767a434e3f87b7e54dffb881a3517dabe422a (diff) | |
download | autoconf-2c222091ff33e5baef6b6d772098e921175f61f7.tar.gz |
* bin/ifnames.in (&scan_file): Skip C++ comments.
Diffstat (limited to 'bin/ifnames.in')
-rw-r--r-- | bin/ifnames.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ifnames.in b/bin/ifnames.in index 5d6c6cee..5bc79bed 100644 --- a/bin/ifnames.in +++ b/bin/ifnames.in @@ -107,6 +107,7 @@ sub scan_file ($) # Remove comments. Not perfect, but close enough. s(/\*.*?\*/)(); s(/\*.*)(); + s(//.*)(); foreach my $word (split (/\W+/)) { next |