From 00cd4c75428f5c88d21e9279fac853cfc644825f Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 26 May 1999 17:14:33 +0000 Subject: [PATCH] (cc-imenu-java-generic-expression): Avoid nested null-loops. --- lisp/progmodes/cc-menus.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/cc-menus.el b/lisp/progmodes/cc-menus.el index 87bd4ed6def..83dd49f21c3 100644 --- a/lisp/progmodes/cc-menus.el +++ b/lisp/progmodes/cc-menus.el @@ -146,7 +146,7 @@ A sample value might look like: `\\(_P\\|_PROTO\\)'.") "\\([ \t]\\)" "\\([A-Za-z0-9_-]+\\)" ; the string we want to get "\\([ \t]*\\)+(" - "\\([a-zA-Z,_1-9\n \t]*[[]?[]]?\\)*" ; arguments + "[][a-zA-Z,_1-9\n \t]*" ; arguments ")[ \t]*" ; "[^;(]" "[,a-zA-Z_1-9\n \t]*{" -- 2.39.5