unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Stange code in semantic/db-el.el
@ 2015-02-12 14:49 Stefan Monnier
  2015-02-13  2:04 ` Eric Ludlam
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2015-02-12 14:49 UTC (permalink / raw)
  To: Eric M. Ludlam; +Cc: emacs-devel

In semanticdb-elisp-sym->tag (cedet/semantic/db-el.el) I see the code below:
[ This is the code in the emacs-24 branch.  ]

	  ((and (eq toktype 'type) (class-p sym))
	   (semantic-tag-new-type
	    (symbol-name sym)
	    "class"
	    (semantic-elisp-desymbolify
	     (eieio--class-public-a (class-v semanticdb-project-database))) ;; slots
	    (semantic-elisp-desymbolify (eieio-class-parents sym)) ;; parents
	    ))

I'm not exactly sure what this code is supposed to do, but I have the
impression that `semanticdb-project-database' above makes no sense:
I would expect to see `sym' there instead.

Is my intuition correct, or else what is this
`semanticdb-project-database' doing there?


        Stefan



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-16  7:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-12 14:49 Stange code in semantic/db-el.el Stefan Monnier
2015-02-13  2:04 ` Eric Ludlam
2015-02-16  7:41   ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).