[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/last-cedet-merge fa84466 07/50: semantic: Fix curr
From: |
David Engster |
Subject: |
[Emacs-diffs] scratch/last-cedet-merge fa84466 07/50: semantic: Fix current symbol info |
Date: |
Wed, 25 Jan 2017 22:15:20 +0000 (UTC) |
branch: scratch/last-cedet-merge
commit fa84466d79788b0604ca66be7188d94d4b3d5a2c
Author: Eric Ludlam <address@hidden>
Commit: David Engster <address@hidden>
semantic: Fix current symbol info
* lisp/cedet/semantic/bovine/c.el
(semantic-idle-summary-current-symbol-info): The macro symbol value
might be a string, so support that.
---
lisp/cedet/semantic/bovine/c.el | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/lisp/cedet/semantic/bovine/c.el b/lisp/cedet/semantic/bovine/c.el
index 47a5457..7ec8010 100644
--- a/lisp/cedet/semantic/bovine/c.el
+++ b/lisp/cedet/semantic/bovine/c.el
@@ -2041,10 +2041,12 @@ have to be wrapped in that namespace."
(setq sv (cdr sv)))
;; This is optional, and potentially fraught w/ errors.
- (condition-case nil
- (dolist (lt sv)
- (setq txt (concat txt " " (semantic-lex-token-text lt))))
- (error (setq txt (concat txt " #error in summary fcn"))))
+ (if (stringp sv)
+ (setq txt (concat txt " " sv))
+ (condition-case nil
+ (dolist (lt sv)
+ (setq txt (concat txt " " (semantic-lex-token-text lt))))
+ (error (setq txt (concat txt " #error in summary fcn")))))
txt)
(semantic-idle-summary-current-symbol-info-default))))
- [Emacs-diffs] branch scratch/last-cedet-merge created (now d2a57bd), David Engster, 2017/01/25
- [Emacs-diffs] scratch/last-cedet-merge ca20c99 01/50: semantic: make semanticdb-default-find-index-class buffer-local, David Engster, 2017/01/25
- [Emacs-diffs] scratch/last-cedet-merge 40dd3d9 02/50: semantic: Do not add enum-type for every type, David Engster, 2017/01/25
- [Emacs-diffs] scratch/last-cedet-merge 5d6f4b8 05/50: EDE: Fix slot type in ede-proj-target-makefile, David Engster, 2017/01/25
- [Emacs-diffs] scratch/last-cedet-merge 5776e7c 06/50: EDE: Fallback to project-linux-build-directory-default if necessary, David Engster, 2017/01/25
- [Emacs-diffs] scratch/last-cedet-merge 05d6b4b 03/50: semantic: Apply enum-type to all members, David Engster, 2017/01/25
- [Emacs-diffs] scratch/last-cedet-merge fa84466 07/50: semantic: Fix current symbol info,
David Engster <=
- [Emacs-diffs] scratch/last-cedet-merge a7276f6 08/50: ; semantic: Add TODO comment regarding arg indexing, David Engster, 2017/01/25
- [Emacs-diffs] scratch/last-cedet-merge 307b510 09/50: semantic: Deal with missing prefix when completing symbol, David Engster, 2017/01/25
- [Emacs-diffs] scratch/last-cedet-merge fdd5968 15/50: semantic: New function to calculate scope around tag, David Engster, 2017/01/25
- [Emacs-diffs] scratch/last-cedet-merge ebc59a5 19/50: semantic: Accept FLAGS parameter for srecode-template-mode, David Engster, 2017/01/25
- [Emacs-diffs] scratch/last-cedet-merge 47471b9 12/50: EDE: Add missing require and silence byte compiler, David Engster, 2017/01/25
- [Emacs-diffs] scratch/last-cedet-merge 7308eaf 18/50: semantic: Accept FLAGS parameter for makefile-mode for analyzing completions, David Engster, 2017/01/25
- [Emacs-diffs] scratch/last-cedet-merge b4d1399 14/50: EDE: Rework config file detection, David Engster, 2017/01/25
- [Emacs-diffs] scratch/last-cedet-merge 95f8a69 29/50: semantic: More C grammar optimizations, David Engster, 2017/01/25
- [Emacs-diffs] scratch/last-cedet-merge deaa8c9 24/50: semantic: New function to find library with macro definition, David Engster, 2017/01/25
- [Emacs-diffs] scratch/last-cedet-merge 0391760 13/50: semantic: Do not strip '*' from operator, David Engster, 2017/01/25