mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Java Mode: Fix handling of nested generics ending in >>>.
This fixes bug #24671. * lisp/progmodes/cc-langs.el (c-multichar->-op-not->>-regexp): remove, transforming into ... (c-multichar->-op-not->>->>>-regexp) New lang const/var. * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): use the new c-multichar->-op-not->>->>>-regexp in place of the old c-multichar->-op-not->>-regexp.
This commit is contained in:
parent
883679dde8
commit
a50271e0c3
2 changed files with 11 additions and 9 deletions
|
|
@ -7983,7 +7983,7 @@ comment at the start of cc-engine.el for more info."
|
|||
|
||||
(if (save-excursion
|
||||
(c-backward-token-2)
|
||||
(looking-at c-multichar->-op-not->>-regexp))
|
||||
(looking-at c-multichar->-op-not->>->>>-regexp))
|
||||
(progn
|
||||
(goto-char (match-end 0))
|
||||
t) ; Continue the loop.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue