emacs-diffs
[Top][All Lists]
Advanced

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

master d923370: Fix problem with parsing . as a symbol in bovine


From: Lars Ingebrigtsen
Subject: master d923370: Fix problem with parsing . as a symbol in bovine
Date: Wed, 30 Sep 2020 12:32:41 -0400 (EDT)

branch: master
commit d923370551b82a457aa14e4358a015bb3a8340b0
Author: Vladimir Nikishkin <lockywolf@gmail.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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 93ad275..b2a25bf 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



reply via email to

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