changeset 4151:8b113cca48f1

[project @ 2002-11-04 22:11:25 by jwe]
author jwe
date Mon, 04 Nov 2002 22:11:26 +0000
parents 0d411821682c
children f14251d33b01
files ChangeLog emacs/otags
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Nov 04 22:03:05 2002 +0000
+++ b/ChangeLog	Mon Nov 04 22:11:26 2002 +0000
@@ -1,3 +1,8 @@
+2002-11-04  Joseph P. Skudlarek  <jskud@jskud.com>
+
+	* emacs/otags: handle declarations without arguments and/or return
+	values.
+
 2002-10-31  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* configure.in (SHLEXT_VER, SHLLIB_VER, SHLBIN_VER): Use
--- a/emacs/otags	Mon Nov 04 22:03:05 2002 +0000
+++ b/emacs/otags	Mon Nov 04 22:11:26 2002 +0000
@@ -20,7 +20,10 @@
 # Author: Mario Storti <mstorti@minerva.unl.edu.ar>
 
 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