* list/progmodes/cc-engine.el (c-forward-declarator): Fix coding error
confusing ":" and EOB.
(and
(setq found
(c-syntactic-re-search-forward
- "[;:,]\\|\\s)\\|\\'\\|\\(=\\|\\s(\\)"
+ "[;:,]\\|\\s)\\|\\(=\\|\\s(\\)"
limit t t))
(eq (char-before) ?:)
(if (looking-at c-:-op-cont-regexp)
(eq (char-before) ?\[)
(c-go-up-list-forward))
(setq brackets-after-id t))
- (backward-char)
- found))
+ (when found (backward-char))
+ t))
(list id-start id-end brackets-after-id (match-beginning 1) decorated)
(goto-char here)