]> git.eshelyaron.com Git - emacs.git/commitdiff
(cc-imenu-java-generic-expression): Get rid of nested loops.
authorKarl Heuer <kwzh@gnu.org>
Thu, 10 Dec 1998 03:27:31 +0000 (03:27 +0000)
committerKarl Heuer <kwzh@gnu.org>
Thu, 10 Dec 1998 03:27:31 +0000 (03:27 +0000)
lisp/progmodes/cc-menus.el

index 470f3e69db3a78d39a7fa4111b8e9d438996a0f5..7fbe653b6a21e8dc91d49ef89b7ba98a7584bc46 100644 (file)
@@ -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]*{"