aboutsummaryrefslogtreecommitdiffstats
path: root/check_abi
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-07-24 21:41:02 +0200
committerJay Berkenbilt <ejb@ql.org>2022-07-24 21:41:02 +0200
commit3661f2749a07ebd3733dca944a4ee990b658d864 (patch)
tree9473f4fe56595671a585257c69ae69f4143fe94a /check_abi
parentd27edd54c4b077de66c40f681ff5d0e266952884 (diff)
downloadqpdf-3661f2749a07ebd3733dca944a4ee990b658d864.tar.zst
Fix regex used for finding classes in the library
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)