Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c3b616a9
Commit
c3b616a9
authored
Nov 21, 2009
by
Alan Mackenzie
Browse files
(cc-imenu-java-generic-expression): A corrected version of the patch from
2009-11-18.
parent
4121db47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
27 deletions
+28
-27
lisp/progmodes/cc-menus.el
lisp/progmodes/cc-menus.el
+28
-27
No files found.
lisp/progmodes/cc-menus.el
View file @
c3b616a9
...
...
@@ -150,7 +150,7 @@ A sample value might look like: `\\(_P\\|_PROTO\\)'.")
`
((
nil
,
(
concat
"["
c-alpha
"_][\]\[."
c-alnum
"_<> ]+[ \t\n\r]+"
; type spec
"\\(["
c-alpha
"_]["
c-alnum
"_]
+
\\)"
; method name
"\\(["
c-alpha
"_]["
c-alnum
"_]
*
\\)"
; method name
"[ \t\n\r]*"
;; An argument list htat is either empty or contains any number
;; of arguments. An argument is any number of annotations
...
...
@@ -159,33 +159,34 @@ A sample value might look like: `\\(_P\\|_PROTO\\)'.")
;; by < typespec > possibly followed by [].
(
concat
"("
"\\("
"[ \t\n\r]*"
"\\("
"@"
"["
c-alpha
"_]"
"["
c-alnum
"._]""*"
"[ \t\n\r]+"
"\\)*"
"\\("
"["
c-alpha
"_]"
"[\]\["
c-alnum
"_.]*"
"\\("
"<"
"[ \t\n\r]*"
"[\]\[.,"
c-alnum
"_<> \t\n\r]*"
">"
"\\)?"
"\\(\\[\\]\\)?"
"[ \t\n\r]+"
"\\)"
"["
c-alpha
"_]"
"["
c-alnum
"_]*"
"[ \t\n\r,]*"
"[ \t\n\r]*"
"\\("
"@"
"["
c-alpha
"_]"
"["
c-alnum
"._]""*"
"[ \t\n\r]+"
"\\)*"
"\\("
"["
c-alpha
"_]"
"[\]\["
c-alnum
"_.]*"
"\\("
"<"
"[ \t\n\r]*"
"[\]\[.,"
c-alnum
"_<> \t\n\r]*"
">"
"\\)?"
"\\(\\[\\]\\)?"
"[ \t\n\r]+"
"\\)"
"["
c-alpha
"_]"
"["
c-alnum
"_]*"
"[ \t\n\r,]*"
"\\)*"
")"
"
[
\t\n\r]*"
"{"
))
1
))
")"
"[.,"
c-alnum
" \t\n\r]*"
"{"
))
1
))
"Imenu generic expression for Java mode. See
`imenu-generic-expression'."
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment