[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-mode.el,v
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-mode.el,v |
Date: |
Sat, 01 Mar 2008 01:28:36 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Miles Bader <miles> 08/03/01 01:28:32
Index: lisp/progmodes/cc-mode.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/cc-mode.el,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -b -r1.67 -r1.68
--- lisp/progmodes/cc-mode.el 24 Feb 2008 10:08:50 -0000 1.67
+++ lisp/progmodes/cc-mode.el 1 Mar 2008 01:28:29 -0000 1.68
@@ -848,13 +848,11 @@
(if (setq limits (c-literal-limits))
(goto-char (cdr limits)))
- (while (and (< (point) end)
- (search-forward-regexp c-anchored-cpp-prefix end t))
+ (while (search-forward-regexp c-anchored-cpp-prefix end t)
(when (c-beginning-of-macro) ; Guard against being in a
string/comment.
(setq mbeg (point))
(c-end-of-macro) ; Do we need to go forward 1 char here? No!
- (c-neutralize-CPP-line mbeg (point)))
- (forward-char)))) ; We might still be in a comment - this
is OK.
+ (c-neutralize-CPP-line mbeg (point)))))) ; We might still be in a
comment - this is OK.
(defun c-before-change (beg end)
;; Function to be put on `before-change-function'. Primarily, this calls