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)
|
(if (looking-at c-:-op-cont-regexp)
|
||||||
(progn (goto-char (match-end 0)) t)
|
(progn (goto-char (match-end 0)) t)
|
||||||
(not
|
(not
|
||||||
(and (c-major-mode-is 'c++-mode)
|
(and (c-major-mode-is '(c++-mode java-mode))
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(and
|
(and
|
||||||
(c-go-up-list-backward)
|
(c-go-up-list-backward)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue