]> code.delx.au - gnu-emacs/blobdiff - lisp/cedet/semantic/db.el
Merge from CEDET upstream (8564).
[gnu-emacs] / lisp / cedet / semantic / db.el
index e8784c4f85c945925f87c9f4c3c4db5ef8ff9a83..8d9cfcccd7d27784f021720a74509f73e7763a55 100644 (file)
@@ -899,7 +899,7 @@ If file does not have tags available, and DONTLOAD is nil,
 then load the tags for FILE, and create a new table object for it.
 DONTLOAD does not affect the creation of new database objects."
   ;; (message "Object Translate: %s" file)
-  (when (and file (file-exists-p file))
+  (when (and file (file-exists-p file) (file-regular-p file))
     (let* ((default-directory (file-name-directory file))
           (tab (semanticdb-file-table-object-from-hash file))
           (fullfile nil))