summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/helpers/check_exports.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers/check_exports.py b/tests/helpers/check_exports.py
index acb727d..9c43d58 100644
--- a/tests/helpers/check_exports.py
+++ b/tests/helpers/check_exports.py
@@ -15,7 +15,7 @@ def main():
parser.add_argument('headers', nargs='+')
args = parser.parse_args()
declarations = re.compile(
- r"^[^\n;{}]*\b(yasl_\w+)\s*\([^;{}]*\);", re.MULTILINE
+ r"^\s*YASL_API\b[^;{}]*?\b(yasl_\w+)\s*\([^;{}]*\);", re.MULTILINE
)
expected = set()
for header in args.headers: