summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-04-09 21:46:02 (GMT)
committerGuido van Rossum <guido@python.org>1998-04-09 21:46:02 (GMT)
commitc6a681a57d61ded92c53ad2b58e53dfcd177ecf7 (patch)
treec3aa91f6c87429d5fa14819021a181193ef69cc8
parentd295f120ae6bd624eaac9032b70fad0aec110597 (diff)
downloadcpython-c6a681a57d61ded92c53ad2b58e53dfcd177ecf7.zip
cpython-c6a681a57d61ded92c53ad2b58e53dfcd177ecf7.tar.gz
cpython-c6a681a57d61ded92c53ad2b58e53dfcd177ecf7.tar.bz2
remove C++ entries of the form Class::method
-rwxr-xr-xModules/makexp_aix8
1 files changed, 6 insertions, 2 deletions
diff --git a/Modules/makexp_aix b/Modules/makexp_aix
index 733013f..9d3bccb 100755
--- a/Modules/makexp_aix
+++ b/Modules/makexp_aix
@@ -18,6 +18,9 @@
# <InputFile> is an object (.o) or an archive file (.a).
#
# HISTORY:
+# 3-Apr-1998 -- remove C++ entries of the form Class::method
+# Vladimir Marangozov
+#
# 1-Jul-1996 -- added header information
# Vladimir Marangozov
#
@@ -65,7 +68,8 @@ echo "*" >> $expFileName
# as a symbol prefix, but such symbols are undefined externs.
# 6. Eliminate everything including the key letter, so that we're
# left with just the symbol name.
+# 7. Eliminate all entries containing two colons, like Class::method
#
-/usr/ccs/bin/nm -Bex $inputFiles \
-| sed -e '/ [^BDT] /d' -e '/\./d' -e 's/.* [BDT] //' \
+/usr/ccs/bin/nm -Bex $inputFiles \
+| sed -e '/ [^BDT] /d' -e '/\./d' -e 's/.* [BDT] //' -e '/::/d' \
| sort | uniq >> $expFileName