diff --git a/colourvalgrind/colourvalgrind.py b/colourvalgrind/colourvalgrind.py index 9a14a4a..d1013f5 100644 --- a/colourvalgrind/colourvalgrind.py +++ b/colourvalgrind/colourvalgrind.py @@ -131,7 +131,7 @@ def func_signature(self, func): r" (?P<_TYPE_LIST_> (?&_TYPE_) (?: \s* , \s* (?&_TYPE_))* )" r" (?P<_FUNC_PTR_> (?: (?&_TYPE_) \s* \( (?: (?&_TYPE_) | \* ) \) \s*" r" \( (?&_TYPE_LIST_)? \) ) )" -r" (?P<_PARAM_> (?: (?&_TYPE_) | (?&_FUNC_PTR_) ) )" +r" (?P<_PARAM_> (?: (?: (?&_TYPE_) (?: \s* \(\) )? ) | (?&_FUNC_PTR_) ) )" r" (?P<_PARAM_LIST_> (?&_PARAM_) (?: \s* , \s* (?&_PARAM_) )* )" r" (?P<_NUMERIC_LITERAL_> (?:" r" (?:"