https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=df75aedc20cfe525d806510bc678d2902807b287

commit df75aedc20cfe525d806510bc678d2902807b287
Author: Corinna Vinschen <cori...@vinschen.de>
Date:   Tue Nov 28 13:26:37 2017 +0100

    cygwin: improve _EXFUN tags generation
    
    Signed-off-by: Corinna Vinschen <cori...@vinschen.de>

Diff:
---
 winsup/cygwin/Makefile.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in
index 4675055..ff20f07 100644
--- a/winsup/cygwin/Makefile.in
+++ b/winsup/cygwin/Makefile.in
@@ -777,7 +777,8 @@ CTAGS:
        -cd $(srcdir) && \
        ctags -R --c++-kinds=+p --fields=+iaS --extra=+q \
        --regex-C++='/EXPORT_ALIAS *\([a-zA-Z0-9_]*, *([a-zA-Z0-9_]*)\)/\1/' \
-       --regex-C++='/_EXFUN *\(([a-zA-Z0-9_]*)[,\)]/\1/' \
+       --regex-C++='/_EXFUN *\(([a-zA-Z0-9_]+) ?[,\)]/\1/' \
+       --regex-C++='/_EXFUN *\([^,]* ([a-zA-Z0-9_]+) ?[,\)]/\1/' \
        --regex-C++='/__ASMNAME *\("([a-zA-Z0-9_]*)"\)/\1/' \
        @newlib_headers@ .

Reply via email to