Commit 17276ed3 authored by Roland McGrath's avatar Roland McGrath
Browse files

(etags-tags-completion-table): Use skip-syntax-backward instead of

parent 79d0c1e7
......@@ -854,20 +854,19 @@ See documentation of variable `tags-file-name'."
(while (search-forward "\177" nil t)
;; Handle multiple \177's on a line.
(skip-chars-backward "^-A-Za-z0-9_$\n") ;sym syntax? XXX
(skip-syntax-backward "w_")
(or (bolp)
(intern (buffer-substring
(skip-chars-backward "-A-Za-z0-9_$")
(skip-syntax-backward "w_")
;; ??? New
;; `::' in the middle of a C++ tag.
(and (= (preceding-char) ?:)
(= (char-after (- (point) 2)) ?:)
(backward-char 2)
(skip-syntax-backward "w_")))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment