diff options
Diffstat (limited to 'lisp/font-lock.el')
-rw-r--r-- | lisp/font-lock.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 2e840bfc7d1..ac9978c1718 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el @@ -1568,9 +1568,9 @@ the face is also set; its value is the face name." (narrow-to-region (point-min) limit) (goto-char (match-end 1)) ;; Move over any item value, etc., to the next item. - (while (not (looking-at "[ \t]*\\(,\\|$\\)")) + (while (not (looking-at "[ \t]*\\(\\(,\\)\\|;\\|$\\)")) (goto-char (or (scan-sexps (point) 1) (point-max)))) - (goto-char (match-end 0))) + (goto-char (match-end 2))) (error t))))) (let ((c-keywords |