[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
java imenu bug
From: |
Erik Andersén |
Subject: |
java imenu bug |
Date: |
Tue, 29 Apr 2003 10:31:03 +0200 |
in lisp/progmodes/cc-imenu.el
(defvar cc-imenu-java-generic-expression
`((nil
,(concat
"^\\([ \t]\\)*"
"\\([.A-Za-z0-9_-]+[ \t]+\\)?" ; type specs; there can be
"\\([.A-Za-z0-9_-]+[ \t]+\\)?" ; more than 3 tokens, right?
"\\([.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]*{"
) 6))
"Imenu generic expression for Java mode. See
`imenu-generic-expression'.")
should be
(defvar cc-imenu-java-generic-expression
`((nil
,(concat
"^\\([ \t]\\)*"
"\\([.A-Za-z0-9_-]+[ \t]+\\)?" ; type specs; there can be
"\\([.A-Za-z0-9_-]+[ \t]+\\)?" ; more than 3 tokens, right?
"\\([.A-Za-z0-9_-]+[ \t]*[[]?[]]?\\)"
"\\([ \t]\\)"
"\\([A-Za-z0-9_-]+\\)" ; the string we want to get
"\\([ \t]*\\)+("
"[][a-zA-Z,_0-9\n \t]*" ; arguments
")[ \t]*"
; "[^;(]"
"[,a-zA-Z_0-9\n \t]*{"
) 6))
"Imenu generic expression for Java mode. See
`imenu-generic-expression'.")
(That is, 0 instead of 1 in the last two regexes)
Best Regards,
Erik Andersen
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- java imenu bug,
Erik Andersén <=