emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] 12/52: company-clang--annotation: include method qualifiers in th


From: Dmitry Gutov
Subject: [elpa] 12/52: company-clang--annotation: include method qualifiers in the annotation
Date: Tue, 01 Jul 2014 11:53:09 +0000

dgutov pushed a commit to branch master
in repository elpa.

commit 02a53fd97d6a23eedfa72964978df9e632157fc7
Author: Dmitry Gutov <address@hidden>
Date:   Sun May 18 15:38:33 2014 +0300

    company-clang--annotation: include method qualifiers in the annotation
    
    Fixes #113
---
 company-clang.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/company-clang.el b/company-clang.el
index 041754f..cc7660c 100644
--- a/company-clang.el
+++ b/company-clang.el
@@ -147,7 +147,7 @@ or automatically through a custom 
`company-clang-prefix-guesser'."
      ((null meta) nil)
      ((string-match "[^:]:[^:]" meta)
       (substring meta (1+ (match-beginning 0))))
-     ((string-match "\\((.*)\\'\\)" meta)
+     ((string-match "\\((.*)[ a-z]*\\'\\)" meta)
       (match-string 1 meta)))))
 
 (defun company-clang--strip-formatting (text)



reply via email to

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