emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-engine.el


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/cc-engine.el
Date: Thu, 11 Apr 2002 23:05:05 -0400

Index: emacs/lisp/progmodes/cc-engine.el
diff -c emacs/lisp/progmodes/cc-engine.el:1.20 
emacs/lisp/progmodes/cc-engine.el:1.21
*** emacs/lisp/progmodes/cc-engine.el:1.20      Mon Nov 19 17:55:33 2001
--- emacs/lisp/progmodes/cc-engine.el   Thu Apr 11 23:05:04 2002
***************
*** 963,969 ****
             (c-beginning-of-statement-1)
             (setq c-parsing-error
                   (format "No matching `if' found for `else' on line %d"
!                          (1+ (count-lines 1 here))))
             (throw 'orphan-if nil))))
        (cond
         ((looking-at "else\\b[^_]")
--- 963,969 ----
             (c-beginning-of-statement-1)
             (setq c-parsing-error
                   (format "No matching `if' found for `else' on line %d"
!                          (1+ (count-lines (point-min) here))))
             (throw 'orphan-if nil))))
        (cond
         ((looking-at "else\\b[^_]")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]