emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] scratch/last-cedet-merge 40dd3d9 02/37: semantic: Do not a


From: David Engster
Subject: [Emacs-diffs] scratch/last-cedet-merge 40dd3d9 02/37: semantic: Do not add enum-type for every type
Date: Sun, 22 Jan 2017 21:26:31 +0000 (UTC)

branch: scratch/last-cedet-merge
commit 40dd3d99d86c8bc6873804e8ed27cb456d1db05c
Author: David Engster <address@hidden>
Commit: David Engster <address@hidden>

    semantic: Do not add enum-type for every type
    
    * lisp/cedet/semantic/bovine/c.el (semantic-c-reconstitute-token): Do
      not add :enum-type here, since the Bovinator will do this for ENUMs
      already.
---
 lisp/cedet/semantic/bovine/c.el |    1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/cedet/semantic/bovine/c.el b/lisp/cedet/semantic/bovine/c.el
index bef4b17..c6a2ef9 100644
--- a/lisp/cedet/semantic/bovine/c.el
+++ b/lisp/cedet/semantic/bovine/c.el
@@ -1339,6 +1339,7 @@ Optional argument STAR and REF indicate the number of * 
and & in the typedef."
            :constant-flag (if (member "const" declmods) t nil)
            :typemodifiers (delete "const" declmods)
            :parent (car (nth 2 tokenpart))
+            :enum-type (nth 3 tokenpart)
            :destructor-flag (if (car (nth 3 tokenpart) ) t)
            :constructor-flag (if constructor t)
            :function-pointer fcnpointer



reply via email to

[Prev in Thread] Current Thread [Next in Thread]