* build-aux/vcstocl/frontend_c.py (FNDECL_RE): Fix regular
expression for empty arguments.
---
build-aux/vcstocl/frontend_c.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build-aux/vcstocl/frontend_c.py b/build-aux/vcstocl/frontend_c.py
index 81f37ffa4..e89892686 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):
--
2.24.1