From: Karl Heuer Date: Thu, 10 Dec 1998 03:27:31 +0000 (+0000) Subject: (cc-imenu-java-generic-expression): Get rid of nested loops. X-Git-Tag: emacs-20.4~1094 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c63ae7f26e474174c0f22f5d1615bf15b68099a2;p=emacs.git (cc-imenu-java-generic-expression): Get rid of nested loops. --- diff --git a/lisp/progmodes/cc-menus.el b/lisp/progmodes/cc-menus.el index 470f3e69db3..7fbe653b6a2 100644 --- a/lisp/progmodes/cc-menus.el +++ b/lisp/progmodes/cc-menus.el @@ -137,8 +137,8 @@ A sample value might look like: `\\(_P\\|_PROTO\\)'.") "\\([A-Za-z0-9_-]+[ \t]*[[]?[]]?\\)" "\\([ \t]\\)" "\\([A-Za-z0-9_-]+\\)" ; the string we want to get - "\\([ \t]*\\)+(" - "\\([a-zA-Z,_1-9\n \t]*[[]?[]]?\\)*" ; arguments + "\\([ \t]*\\)(" + "\\([][a-zA-Z,_1-9\n \t]*\\)" ; arguments ")[ \t]*" ; "[^;(]" "[,a-zA-Z_1-9\n \t]*{"