From d923370551b82a457aa14e4358a015bb3a8340b0 Mon Sep 17 00:00:00 2001 From: Vladimir Nikishkin Date: Wed, 30 Sep 2020 18:32:32 +0200 Subject: [PATCH] Fix problem with parsing . as a symbol in bovine * lisp/cedet/semantic/bovine/scm.el (semantic-lex-scheme-symbol): Symbols do not have to start with a word-constituent character (bug#40034). In particular, symbols like : and . are valid. Copyright-paperwork-exempt: yes --- lisp/cedet/semantic/bovine/scm.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/cedet/semantic/bovine/scm.el b/lisp/cedet/semantic/bovine/scm.el index 93ad27586ed..b2a25bf8eef 100644 --- a/lisp/cedet/semantic/bovine/scm.el +++ b/lisp/cedet/semantic/bovine/scm.el @@ -69,7 +69,7 @@ Attempts a simple prototype for calling or using TAG." ;; Note: Analyzer from Henry S. Thompson (define-lex-regex-analyzer semantic-lex-scheme-symbol "Detect and create symbol and keyword tokens." - "\\(\\sw\\([:]\\|\\sw\\|\\s_\\)*\\)" + "\\(\\sw\\|\\s_\\)+" ;; (message "symbol: %s" (match-string 0)) (semantic-lex-push-token (semantic-lex-token