GNU bug report logs -
#5640
23.1.92; [patch] cedet: use of c(a|d)ddr functions
Previous Next
Reported by: Eduard Wiebe <usenet <at> pusto.de>
Date: Wed, 24 Feb 2010 14:36:02 UTC
Severity: normal
Tags: patch
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hello,
i received following error message while trying cedet.
Idle Parse Error: "#<buffer test.js> - Symbol's function definition is void: caddr"
Mark set [2 times]
My simple fix follows:
2010-02-24 Eduard Wiebe <usenet <at> pusto.de>
* javascript.el (wisent-javascript-jv-expand-tag): Avoid
c(ad)ddr and use c(ad)r of cddr.
diff --git a/lisp/cedet/semantic/wisent/javascript.el b/lisp/cedet/semantic/wisent/javascript.el
index 34afb75..480fbec 100644
--- a/lisp/cedet/semantic/wisent/javascript.el
+++ b/lisp/cedet/semantic/wisent/javascript.el
@@ -48,8 +48,8 @@ to this variable NAME."
elts (cdr elts)
clone (semantic-tag-clone tag (car elt))
value (car (cdr elt))
- start (if elts (caddr elt) (semantic-tag-start tag))
- end (if xpand (cdddr elt) (semantic-tag-end tag))
+ start (if elts (car (cddr elt)) (semantic-tag-start tag))
+ end (if xpand (cdr (cddr elt)) (semantic-tag-end tag))
xpand (cons clone xpand))
;; Set the definition of the cloned tag
(semantic-tag-put-attribute clone :default-value value)
--
Eduard Wiebe
This bug report was last modified 15 years and 149 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.