emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] scratch/last-cedet-merge 03bb495 07/11: semantic: Fix for


From: David Engster
Subject: [Emacs-diffs] scratch/last-cedet-merge 03bb495 07/11: semantic: Fix for Python lexer
Date: Mon, 23 Jan 2017 21:13:49 +0000 (UTC)

branch: scratch/last-cedet-merge
commit 03bb495ea495dca46e418561461f7b1e71b0c214
Author: Eric Ludlam <address@hidden>
Commit: David Engster <address@hidden>

    semantic: Fix for Python lexer
    
    * lisp/cedet/semantic/wisent/python.el (wisent-python-default-setup):
      Add syntax mod for . as punctuation.
---
 lisp/cedet/semantic/wisent/python.el |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lisp/cedet/semantic/wisent/python.el 
b/lisp/cedet/semantic/wisent/python.el
index 4e7ee3d..6170a0d 100644
--- a/lisp/cedet/semantic/wisent/python.el
+++ b/lisp/cedet/semantic/wisent/python.el
@@ -511,6 +511,10 @@ Shortens `code' tags, but passes through for others."
   ;; Give python modes the possibility to overwrite this:
   (if (not comment-start-skip)
       (set (make-local-variable 'comment-start-skip) "#+\\s-*"))
+  ;; Fix up some syntax for the lexer.
+  (setq semantic-lex-syntax-modifications '((?. ".")
+                                            )
+        )
   (setq
   ;; Character used to separation a parent/child relationship
    semantic-type-relation-separator-character '(".")



reply via email to

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