mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
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
This commit is contained in:
parent
cc3e369ab0
commit
d923370551
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user