emacs-devel
[Top][All Lists]
Advanced

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

bug when fontifying cc-mode


From: Karl Chen
Subject: bug when fontifying cc-mode
Date: Thu, 25 Aug 2005 20:39:05 -0700

Applies to emacs CVS HEAD; does not apply to emacs 21.3.

Steps to reproduce:

emacs -q /tmp/a.c

insert the following string (without quotes):

"
//
//

//
//

"

(There must be at least one blank line at the beginning, between
the double-comment lines, and at the end.)

M-x font-lock-fontify-buffer


Lisp error: (error "Point after end of properties")
  forward-comment(5)
  c-find-decl-spots( ... )
  c-font-lock-declarations(24)
  font-lock-fontify-keywords-region(1 24 t)
  font-lock-default-fontify-region(1 24 t)
  font-lock-fontify-region(1 24 t)
  byte-code( ... )
  font-lock-default-fontify-buffer()
  font-lock-fontify-buffer()

Fforward_comment hasn't changed in 5 years.

-- 
Karl 2005-08-25 20:38




reply via email to

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