* [PATCH] vcs-to-changelog: Fix parsing of fndecl without args
@ 2020-01-16 16:11 Siddhesh Poyarekar
2020-01-16 20:35 ` Bruno Haible
0 siblings, 1 reply; 2+ messages in thread
From: Siddhesh Poyarekar @ 2020-01-16 16:11 UTC (permalink / raw)
To: bug-gnulib
* 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] vcs-to-changelog: Fix parsing of fndecl without args
2020-01-16 16:11 [PATCH] vcs-to-changelog: Fix parsing of fndecl without args Siddhesh Poyarekar
@ 2020-01-16 20:35 ` Bruno Haible
0 siblings, 0 replies; 2+ messages in thread
From: Bruno Haible @ 2020-01-16 20:35 UTC (permalink / raw)
To: bug-gnulib; +Cc: Siddhesh Poyarekar
> * build-aux/vcstocl/frontend_c.py (FNDECL_RE): Fix regular
> expression for empty arguments.
Applied. Thanks.
Bruno
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-01-16 20:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-16 16:11 [PATCH] vcs-to-changelog: Fix parsing of fndecl without args Siddhesh Poyarekar
2020-01-16 20:35 ` Bruno Haible
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).