summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2009-09-20 21:48:30 +0000
committerChong Yidong <cyd@stupidchicken.com>2009-09-20 21:48:30 +0000
commit6564b17767d46022996d43647c176cf58735dc08 (patch)
tree93978c404157734790da1175cc01f0873b8bb635
parent8f52e94d5cad6e237ef3a0fe539f5c32c308a8be (diff)
downloademacs-6564b17767d46022996d43647c176cf58735dc08.tar.gz
* cedet/srecode/compile.el (srecode-compile-split-code)
(srecode-compile-parse-inserter): Fix compiler warning.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/cedet/srecode/compile.el3
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index eeb2e331bd6..902532d37d1 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,10 @@
2009-09-20 Chong Yidong <cyd@stupidchicken.com>
+ * cedet/srecode/compile.el (srecode-compile-split-code)
+ (srecode-compile-parse-inserter): Fix compiler warning.
+
+2009-09-20 Chong Yidong <cyd@stupidchicken.com>
+
* cedet/ede/speedbar.el (ede-speedbar-file-setup): Add autoload.
* cedet/ede.el, cedet/ede/*.el: New files.
diff --git a/lisp/cedet/srecode/compile.el b/lisp/cedet/srecode/compile.el
index f744b052162..769c0137e68 100644
--- a/lisp/cedet/srecode/compile.el
+++ b/lisp/cedet/srecode/compile.el
@@ -393,7 +393,7 @@ If END-NAME is specified, and the input string"
(match-end 0)))
(namestart (match-end 0))
(junk (string-match regexend what namestart))
- end tail name)
+ end tail name key)
;; Add string to compiled output
(when (> (length prefix) 0)
(setq comp (cons prefix comp)))
@@ -462,6 +462,7 @@ If END-NAME is specified, and the input string"
"Parse the inserter TXT with the current STATE.
Return an inserter object."
(let ((key (aref txt 0))
+ name
)
(if (and (or (< key ?A) (> key ?Z))
(or (< key ?a) (> key ?z)) )