aboutsummaryrefslogtreecommitdiffstats
path: root/check_abi
diff options
context:
space:
mode:
Diffstat (limited to 'check_abi')
-rwxr-xr-xcheck_abi4
1 files changed, 3 insertions, 1 deletions
diff --git a/check_abi b/check_abi
index 486b2c10..8267aaa3 100755
--- a/check_abi
+++ b/check_abi
@@ -111,7 +111,9 @@ class Main:
classes = set()
for i in sorted(lib):
# Find a symbol that looks like a class method.
- m = re.match(r'(((?:^\S*?::)?(?:[^:\s]+))::([^:\s]+))\(', i)
+ m = re.match(
+ r'(((?:^\S*?::)?(?:[^:\s]+))::([^:\s]+))(?:\[[^\]]+\])?\(',
+ i)
if m:
full = m.group(1)
clas = m.group(2)