Mercurial > hg > xemacs-beta
diff lisp/cc-mode/cc-engine.el @ 181:bfd6434d15b3 r20-3b17
Import from CVS: tag r20-3b17
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:53:19 +0200 |
parents | 6075d714658b |
children | e121b013d1f0 |
line wrap: on
line diff
--- a/lisp/cc-mode/cc-engine.el Mon Aug 13 09:52:21 2007 +0200 +++ b/lisp/cc-mode/cc-engine.el Mon Aug 13 09:53:19 2007 +0200 @@ -7,7 +7,7 @@ ;; 1985 Richard M. Stallman ;; Maintainer: cc-mode-help@python.org ;; Created: 22-Apr-1997 (split from cc-mode.el) -;; Version: 5.14 +;; Version: 5.15 ;; Keywords: c languages oop ;; This file is part of GNU Emacs. @@ -1145,13 +1145,14 @@ (c-add-syntax 'inher-cont (c-point 'boi))) ;; CASE 5D.4: perhaps a template list continuation? ((save-excursion + (goto-char indent-point) (skip-chars-backward "^<" lim) ;; not sure if this is the right test, but it should ;; be fast and mostly accurate. (and (eq (char-before) ?<) (not (c-in-literal lim)))) - ;; we can probably indent it just like and arglist-cont - (c-add-syntax 'arglist-cont (point))) + ;; we can probably indent it just like an arglist-cont + (c-add-syntax 'template-args-cont (point))) ;; CASE 5D.5: perhaps a top-level statement-cont (t (c-beginning-of-statement-1 lim)