* build-aux/vcstocl/frontend_c.py (FNDECL_RE): Fix regular
expression for empty arguments.
+2020-01-16 Siddhesh Poyarekar <siddhesh@gotplt.org>
+
+ vcs-to-changelog: Fix parsing of fndecl without args.
+ * build-aux/vcstocl/frontend_c.py (FNDECL_RE): Fix regular expression
+ for empty arguments.
+
2020-01-16 Siddhesh Poyarekar <siddhesh@gotplt.org>
vcs-to-changelog: Add documentation.
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):