]> code.delx.au - gnu-emacs/blobdiff - lisp/progmodes/cc-engine.el
Fix problems caused by new implementation of sub-word mode
[gnu-emacs] / lisp / progmodes / cc-engine.el
index d30447fe554395b0a72b69fb9da53a64b06d44f1..a4a1604e6f40f4bf3d2ef22b21a552ba3923983f 100644 (file)
@@ -6041,7 +6041,7 @@ comment at the start of cc-engine.el for more info."
 
                      (when (or (looking-at "extends")
                                (looking-at "super"))
-                       (forward-word)
+                       (forward-word-strictly)
                        (c-forward-syntactic-ws)
                        (let ((c-promote-possible-types t)
                              (c-record-found-types t))