]> code.delx.au - gnu-emacs-elpa/blobdiff - company-clang.el
Don't repeat search with empty string
[gnu-emacs-elpa] / company-clang.el
index 459056d0b3eb7658e671cab4fc8fe542d7d22d4a..8114b3b5bb0a145239a039dc8fa5d8233a785d08 100644 (file)
@@ -110,7 +110,7 @@ or automatically through a custom `company-clang-prefix-guesser'."
 ;; TODO: Handle Pattern (syntactic hints would be neat).
 ;; Do we ever see OVERLOAD (or OVERRIDE)?
 (defconst company-clang--completion-pattern
-  "^COMPLETION: \\_<\\(%s[a-zA-Z0-9_:<>]*\\)\\(?: : \\(.*\\)$\\)?$")
+  "^COMPLETION: \\_<\\(%s[a-zA-Z0-9_:]*\\)\\(?: : \\(.*\\)$\\)?$")
 
 (defconst company-clang--error-buffer-name "*clang-error*")