[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/last-cedet-merge 0391760 13/37: semantic: Do not s
From: |
David Engster |
Subject: |
[Emacs-diffs] scratch/last-cedet-merge 0391760 13/37: semantic: Do not strip '*' from operator |
Date: |
Sun, 22 Jan 2017 21:26:32 +0000 (UTC) |
branch: scratch/last-cedet-merge
commit 0391760cacbeda11bab3409b6aacc6faa4eb6d71
Author: Eric Ludlam <address@hidden>
Commit: David Engster <address@hidden>
semantic: Do not strip '*' from operator
* lisp/cedet/semantic/bovine/c.el (semantic-c-reconstitute-token): Do
not strip a fcnpoint * off the name of an operator.
---
lisp/cedet/semantic/bovine/c.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/lisp/cedet/semantic/bovine/c.el b/lisp/cedet/semantic/bovine/c.el
index 7ec8010..48521f9 100644
--- a/lisp/cedet/semantic/bovine/c.el
+++ b/lisp/cedet/semantic/bovine/c.el
@@ -1313,14 +1313,15 @@ Optional argument STAR and REF indicate the number of *
and & in the typedef."
(nth 10 tokenpart) ; initializers
)
(not (car (nth 3 tokenpart)))))
- (fcnpointer (and (> (length (car tokenpart)) 0)
+ (operator (if (string-match "[a-zA-Z]" (car tokenpart))
+ nil
+ t))
+ (fcnpointer (and (not operator)
+ (> (length (car tokenpart)) 1)
(= (aref (car tokenpart) 0) ?*)))
(fnname (if fcnpointer
(substring (car tokenpart) 1)
(car tokenpart)))
- (operator (if (string-match "[a-zA-Z]" fnname)
- nil
- t))
)
;; The function
(semantic-tag-new-function
- [Emacs-diffs] scratch/last-cedet-merge e698dc1 04/37: semantic: Add support for typedef references, (continued)
- [Emacs-diffs] scratch/last-cedet-merge e698dc1 04/37: semantic: Add support for typedef references, David Engster, 2017/01/22
- [Emacs-diffs] scratch/last-cedet-merge 5776e7c 06/37: EDE: Fallback to project-linux-build-directory-default if necessary, David Engster, 2017/01/22
- [Emacs-diffs] scratch/last-cedet-merge 307b510 09/37: semantic: Deal with missing prefix when completing symbol, David Engster, 2017/01/22
- [Emacs-diffs] scratch/last-cedet-merge fa84466 07/37: semantic: Fix current symbol info, David Engster, 2017/01/22
- [Emacs-diffs] scratch/last-cedet-merge fdd5968 15/37: semantic: New function to calculate scope around tag, David Engster, 2017/01/22
- [Emacs-diffs] scratch/last-cedet-merge 8daca76 30/37: semantic: C grammar optimizations, David Engster, 2017/01/22
- [Emacs-diffs] scratch/last-cedet-merge 40dd3d9 02/37: semantic: Do not add enum-type for every type, David Engster, 2017/01/22
- [Emacs-diffs] scratch/last-cedet-merge a7276f6 08/37: ; semantic: Add TODO comment regarding arg indexing, David Engster, 2017/01/22
- [Emacs-diffs] scratch/last-cedet-merge 5d6f4b8 05/37: EDE: Fix slot type in ede-proj-target-makefile, David Engster, 2017/01/22
- [Emacs-diffs] scratch/last-cedet-merge ec4505d 17/37: semantic: Accept FLAGS in texinfo-mode for analyzing completions, David Engster, 2017/01/22
- [Emacs-diffs] scratch/last-cedet-merge 0391760 13/37: semantic: Do not strip '*' from operator,
David Engster <=
- [Emacs-diffs] scratch/last-cedet-merge c2d4ad8 23/37: semantic: Update keybinings for grammar mode, David Engster, 2017/01/22
- [Emacs-diffs] scratch/last-cedet-merge 7308eaf 18/37: semantic: Accept FLAGS parameter for makefile-mode for analyzing completions, David Engster, 2017/01/22
- [Emacs-diffs] scratch/last-cedet-merge cc30b46 11/37: EDE: Move ede-global-list-sanity-check to ede/files.el, David Engster, 2017/01/22
- [Emacs-diffs] scratch/last-cedet-merge 95f8a69 29/37: semantic: More C grammar optimizations, David Engster, 2017/01/22
- [Emacs-diffs] scratch/last-cedet-merge 2b42323 35/37: EDE: Fix for project detection, David Engster, 2017/01/22
- [Emacs-diffs] scratch/last-cedet-merge b4d1399 14/37: EDE: Rework config file detection, David Engster, 2017/01/22
- [Emacs-diffs] scratch/last-cedet-merge deaa8c9 24/37: semantic: New function to find library with macro definition, David Engster, 2017/01/22
- [Emacs-diffs] scratch/last-cedet-merge 6b57c5b 20/37: semantic: Introduce `semantic-analyze-tag-type-members', David Engster, 2017/01/22
- [Emacs-diffs] scratch/last-cedet-merge 0a2b38b 26/37: EDE: Expand file name, David Engster, 2017/01/22
- [Emacs-diffs] scratch/last-cedet-merge fb127f2 34/37: semantic: C grammar fixes, David Engster, 2017/01/22