emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/julia-mode 91b2800 075/352: Color ccall and C_NULL in emac


From: ELPA Syncer
Subject: [nongnu] elpa/julia-mode 91b2800 075/352: Color ccall and C_NULL in emacs mode
Date: Sun, 29 Aug 2021 11:22:18 -0400 (EDT)

branch: elpa/julia-mode
commit 91b2800efb8bf05354a9cffed3429bb2e2282011
Author: Viral B. Shah <viral@mayin.org>
Commit: Yichao Yu <yyc1992@gmail.com>

    Color ccall and C_NULL in emacs mode
---
 julia-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/julia-mode.el b/julia-mode.el
index 25f2ea9..b5fa878 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -54,14 +54,14 @@
   
"\\(\\s(\\|\\s-\\|-\\|[,%=<>\\+*/?&|$!\\^~\\\\;:]\\|^\\)\\('\\(\\([^']*?[^\\\\]\\)\\|\\(\\\\\\\\\\)\\)'\\)")
 
 (defconst julia-font-lock-keywords
-  (list 
'("\\<\\(true\\|false\\|\\|Uint\\(8\\|16\\|32\\|64\\)\\|Int\\(8\\|16\\|32\\|64\\)\\|Integer\\|Float\\|Float32\\|Float64\\|Complex128\\|Complex64\\|ComplexNum\\|Bool\\|Char\\|Number\\|Scalar\\|Real\\|Int\\|Uint\\|Array\\|DArray\\|AbstractArray\\|AbstractVector\\|AbstractMatrix\\|SubArray\\|StridedArray\\|StridedVector\\|StridedMatrix\\|VecOrMat\\|StridedVecOrMat\\|Range\\|Range1\\|SparseMatrixCSC\\|Tuple\\|NTuple\\|Buffer\\|Size\\|Index\\|Symbol\\|Function\\|Vector\\|Matrix\\|Unio
 [...]
+  (list 
'("\\<\\(true\\|false\\|\\|Uint\\(8\\|16\\|32\\|64\\)\\|Int\\(8\\|16\\|32\\|64\\)\\|Integer\\|Float\\|Float32\\|Float64\\|Complex128\\|Complex64\\|ComplexNum\\|Bool\\|Char\\|Number\\|Scalar\\|Real\\|Int\\|Uint\\|Array\\|DArray\\|AbstractArray\\|AbstractVector\\|AbstractMatrix\\|SubArray\\|StridedArray\\|StridedVector\\|StridedMatrix\\|VecOrMat\\|StridedVecOrMat\\|Range\\|Range1\\|SparseMatrixCSC\\|Tuple\\|NTuple\\|Buffer\\|Size\\|Index\\|Symbol\\|Function\\|Vector\\|Matrix\\|Unio
 [...]
       font-lock-type-face)
     (cons
      (concat "\\<\\("
          (mapconcat
           'identity
           '("if" "else" "elseif" "while" "for" "begin" "end" "quote"
-            "try" "catch" "return" "local" "abstract" "function" "macro"
+            "try" "catch" "return" "local" "abstract" "function" "macro" 
"ccall"
            "typealias" "break" "continue" "type" "global" "@\\w+"
            "module" "import" "export" "const" "let" "bitstype")
           "\\|") "\\)\\>")



reply via email to

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