Java Mode: Fix fontification of variable decl inside `for'
* lisp/progmodes/cc-engine.el (c-forward-declarator): In place of a test for C++ Mode, test for either C++ Mode or Java Mode.
This commit is contained in:
parent
884b68ca2c
commit
693749c60f
1 changed files with 1 additions and 1 deletions
|
@ -9034,7 +9034,7 @@ point unchanged and return nil."
|
|||
(if (looking-at c-:-op-cont-regexp)
|
||||
(progn (goto-char (match-end 0)) t)
|
||||
(not
|
||||
(and (c-major-mode-is 'c++-mode)
|
||||
(and (c-major-mode-is '(c++-mode java-mode))
|
||||
(save-excursion
|
||||
(and
|
||||
(c-go-up-list-backward)
|
||||
|
|
Loading…
Add table
Reference in a new issue