diff options
Diffstat (limited to 'build-aux/vcstocl/frontend_c.py')
-rw-r--r-- | build-aux/vcstocl/frontend_c.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/vcstocl/frontend_c.py b/build-aux/vcstocl/frontend_c.py index 81f37ffa4d..e898926863 100644 --- a/build-aux/vcstocl/frontend_c.py +++ b/build-aux/vcstocl/frontend_c.py @@ -266,7 +266,7 @@ class DeclParser(ExprParser): ExprParser.ATTRIBUTE + ';') # Function Declarations. - FNDECL_RE = re.compile(r'\s*(\w+)\s*\([^\(][^;]*\)\s*' + + FNDECL_RE = re.compile(r'\s*(\w+)\s*\(([^\(][^;]*)?\)\s*' + ExprParser.ATTRIBUTE + ';') def __init__(self, regex, blocktype, project_quirks, debug): |