]> 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 06e11b25d209ecfd68418aa9c33d8cef267dc750..380ea15cc8973498f461a26ad9b444e6ab9a2441 100644 (file)
@@ -6083,7 +6083,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))