changeset 106533:b913cb685ed4

(safe-pos-list): Define for compiler.
author Glenn Morris <rgm@gnu.org>
date Fri, 11 Dec 2009 01:46:24 +0000
parents 25340fd189fc
children cad98e90ecc5
files lisp/ChangeLog lisp/progmodes/cc-engine.el
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Dec 11 01:27:40 2009 +0000
+++ b/lisp/ChangeLog	Fri Dec 11 01:46:24 2009 +0000
@@ -1,5 +1,7 @@
 2009-12-11  Glenn Morris  <rgm@gnu.org>
 
+	* progmodes/cc-engine.el (safe-pos-list): Define for compiler.
+
 	* mail/emacsbug.el: No longer require sendmail.
 	Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
 	(report-emacs-bug-orig-text): Doc fix.
--- a/lisp/progmodes/cc-engine.el	Fri Dec 11 01:27:40 2009 +0000
+++ b/lisp/progmodes/cc-engine.el	Fri Dec 11 01:46:24 2009 +0000
@@ -3743,6 +3743,8 @@
 	(goto-char bound))
       nil)))
 
+(defvar safe-pos-list)		  ; bound in c-syntactic-skip-backward
+
 (defsubst c-ssb-lit-begin ()
   ;; Return the start of the literal point is in, or nil.
   ;; We read and write the variables `safe-pos', `safe-pos-list', `state'
@@ -3756,7 +3758,7 @@
       ;;
       ;; FIXME: Consult `syntax-ppss' here if our cache doesn't give a good
       ;; position.
-    
+
       (while (and safe-pos-list
 		  (> (car safe-pos-list) (point)))
 	(setq safe-pos-list (cdr safe-pos-list)))