summaryrefslogtreecommitdiff
path: root/lisp/cedet/semantic/bovine/c.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2017-03-16 12:31:07 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2017-03-16 12:31:07 -0400
commitffbb46849990bf4bf952e01b78c9a1a0ca0d4432 (patch)
treeab2d6dbd1f93e8c42a8508342abfb379a4a14d9f /lisp/cedet/semantic/bovine/c.el
parent265a5d9791bf42da0bab7bdbef4352e8d734ef31 (diff)
downloademacs-ffbb46849990bf4bf952e01b78c9a1a0ca0d4432.tar.gz
Add obarray-size and fix tests accordingly. Use obarrayp in cedet.
* lisp/obarray.el (obarray-size): New function. * lisp/cedet/semantic/lex-spp.el (semantic-lex-spp-symbol) (semantic-lex-spp-save-table, semantic-lex-spp-macros): * lisp/cedet/semantic/bovine/c.el (semantic-c-describe-environment): Use obarrayp. * test/lisp/obarray-tests.el (obarray-make-default-test) (obarray-make-with-size-test): Use it.
Diffstat (limited to 'lisp/cedet/semantic/bovine/c.el')
-rw-r--r--lisp/cedet/semantic/bovine/c.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/cedet/semantic/bovine/c.el b/lisp/cedet/semantic/bovine/c.el
index bef4b179b23..3200a5c1435 100644
--- a/lisp/cedet/semantic/bovine/c.el
+++ b/lisp/cedet/semantic/bovine/c.el
@@ -2253,7 +2253,7 @@ actually in their parent which is not accessible.")
(princ " Your project symbol map is also derived from the EDE object:\n ")
(princ (object-print ede-object)))
(princ "\n\n")
- (if (arrayp semantic-lex-spp-project-macro-symbol-obarray)
+ (if (obarrayp semantic-lex-spp-project-macro-symbol-obarray)
(let ((macros nil))
(mapatoms
#'(lambda (symbol)