[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/last-cedet-merge ebc8418 03/11: semantic: Check if
From: |
David Engster |
Subject: |
[Emacs-diffs] scratch/last-cedet-merge ebc8418 03/11: semantic: Check if slot is bound |
Date: |
Mon, 23 Jan 2017 21:13:48 +0000 (UTC) |
branch: scratch/last-cedet-merge
commit ebc8418fefd4ab5f3c89da209ef903a64ffa0484
Author: Eric Ludlam <address@hidden>
Commit: David Engster <address@hidden>
semantic: Check if slot is bound
* lisp/cedet/semantic/analyze.el (semantic-analyze-show): Protect
against unbound error slot.
---
lisp/cedet/semantic/analyze.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/cedet/semantic/analyze.el b/lisp/cedet/semantic/analyze.el
index a8cd95d..70a5bad 100644
--- a/lisp/cedet/semantic/analyze.el
+++ b/lisp/cedet/semantic/analyze.el
@@ -804,7 +804,8 @@ Use BUFF as a source of override methods."
(semantic-analyze-princ-sequence (oref context prefix) "Prefix: " )
(semantic-analyze-princ-sequence (oref context prefixclass) "Prefix Classes:
")
(semantic-analyze-princ-sequence (oref context prefixtypes) "Prefix Types: ")
- (semantic-analyze-princ-sequence (oref context errors) "Encountered Errors:
")
+ (semantic-analyze-princ-sequence (when (slot-boundp context 'errors) (oref
context errors))
+ "Encountered Errors: ")
(princ "--------\n")
;(semantic-analyze-princ-sequence (oref context scopetypes) "Scope Types: ")
;(semantic-analyze-princ-sequence (oref context scope) "Scope: ")
- [Emacs-diffs] scratch/last-cedet-merge updated (74263b1 -> 592b5fe), David Engster, 2017/01/23
- [Emacs-diffs] scratch/last-cedet-merge e4e864a 02/11: semantic: Properly create canonical name for C++ type tag, David Engster, 2017/01/23
- [Emacs-diffs] scratch/last-cedet-merge b893e8a 04/11: semantic: Allow empty type relation separation character, David Engster, 2017/01/23
- [Emacs-diffs] scratch/last-cedet-merge 50139fb 08/11: semantic: Fix scope calculation for 'enum', David Engster, 2017/01/23
- [Emacs-diffs] scratch/last-cedet-merge 3cbb968 10/11: semantic: Use file name for grammar name instead of %package token, David Engster, 2017/01/23
- [Emacs-diffs] scratch/last-cedet-merge 783fb86 09/11: semantic: Add 'fromfile' option to grammar package, David Engster, 2017/01/23
- [Emacs-diffs] scratch/last-cedet-merge 03bb495 07/11: semantic: Fix for Python lexer, David Engster, 2017/01/23
- [Emacs-diffs] scratch/last-cedet-merge 64484cf 06/11: semantic: Set `semantic-type-relation-separator-character' for Emacs Lisp, David Engster, 2017/01/23
- [Emacs-diffs] scratch/last-cedet-merge ebc8418 03/11: semantic: Check if slot is bound,
David Engster <=
- [Emacs-diffs] scratch/last-cedet-merge 742013b 05/11: semantic: Improve grammar-mode, David Engster, 2017/01/23
- [Emacs-diffs] scratch/last-cedet-merge cfc56f5 01/11: semantic: Fix for db-global, David Engster, 2017/01/23
- [Emacs-diffs] scratch/last-cedet-merge 592b5fe 11/11: semantic: Improve C++ 'friend' parsing, David Engster, 2017/01/23