(cc-imenu-java-generic-expression): Avoid nested null-loops.
authorRichard M. Stallman <rms@gnu.org>
Wed, 26 May 1999 17:14:33 +0000 (17:14 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 26 May 1999 17:14:33 +0000 (17:14 +0000)
lisp/progmodes/cc-menus.el

index 87bd4ed..83dd49f 100644 (file)
@@ -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]*{"