# HG changeset patch # User jwe # Date 1036447886 0 # Node ID 8b113cca48f1876a80a9e58b7d7477823c9eebcf # Parent 0d411821682cca9c59794ff851f0240b5ffe8ad0 [project @ 2002-11-04 22:11:25 by jwe] diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-11-04 Joseph P. Skudlarek + + * emacs/otags: handle declarations without arguments and/or return + values. + 2002-10-31 John W. Eaton * configure.in (SHLEXT_VER, SHLLIB_VER, SHLBIN_VER): Use diff --git a/emacs/otags b/emacs/otags --- a/emacs/otags +++ b/emacs/otags @@ -20,7 +20,10 @@ # Author: Mario Storti etags --lang=none \ - --regex='/[ \t]*function.*=[ \t]*\([^ \t]*\)[ \t]*(/\1/' \ + --regex='/[ \t]*function.*=[ \t]*\([^ \t()]*\)[ \t]*(/\1/' \ + --regex='/[ \t]*function.*=[ \t]*\([^ \t()]*\)[ \t]*$/\1/' \ + --regex='/[ \t]*function[ \t]*\([^ \t()]*\)[ \t]*(/\1/' \ + --regex='/[ \t]*function[ \t]*\([^ \t()]*\)[ \t]*$/\1/' \ --regex='/###key \(.*\)/\1/' \ --regex='/[ \t]*global[ \t].*/' \ *.m