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

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

[nongnu] elpa/julia-mode 89e42a4 023/352: Minor updates to julia-mode fo


From: ELPA Syncer
Subject: [nongnu] elpa/julia-mode 89e42a4 023/352: Minor updates to julia-mode for Ptr and eval.
Date: Sun, 29 Aug 2021 11:22:08 -0400 (EDT)

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

    Minor updates to julia-mode for Ptr and eval.
---
 julia-mode.el | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/julia-mode.el b/julia-mode.el
index 6522583..365608f 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -38,7 +38,7 @@
   "Syntax table for julia-mode")
 
 (defconst julia-font-lock-keywords
-  (list 
'("\\<\\(true\\|false\\|\\|Uint\\(8\\|16\\|32\\|64\\)\\|Int\\(8\\|16\\|32\\|64\\)\\|Float\\|Float32\\|Float64\\|Bool\\|Number\\|Scalar\\|Real\\|Int\\|Tensor\\|Array\\|Tuple\\|NTuple\\|Buffer\\|Size\\|Index\\|Symbol\\|Function\\|Vector\\|Matrix\\|Union\\|Type\\|Any\\|Complex\\|Bottom\\|Pointer\\|Void\\)\\>"
 .
+  (list 
'("\\<\\(true\\|false\\|\\|Uint\\(8\\|16\\|32\\|64\\)\\|Int\\(8\\|16\\|32\\|64\\)\\|Float\\|Float32\\|Float64\\|Bool\\|Number\\|Scalar\\|Real\\|Int\\|Tensor\\|Array\\|Tuple\\|NTuple\\|Buffer\\|Size\\|Index\\|Symbol\\|Function\\|Vector\\|Matrix\\|Union\\|Type\\|Any\\|Complex\\|Bottom\\|Ptr\\|Void\\)\\>"
 .
       font-lock-type-face)
     (cons
      (concat "\\<\\("
@@ -46,15 +46,14 @@
           'identity
           '("if" "else" "elseif" "while" "for" "begin" "end" "do"
             "try" "catch" "return" "local" "type" "function"
-           "typealias" "break" "continue" "struct" "global" "macro"
+           "typealias" "break" "continue" "struct" "global" "eval"
            "module" "import" "export" "const")
           "\\|") "\\)\\>")
      'font-lock-keyword-face)
     '("\\\\\\s-*\".*?\"" . font-lock-string-face)))
 
 (defconst julia-block-start-keywords
-  (list "if" "while" "for" "begin" "try" "type" "function" "struct"
-       "macro"))
+  (list "if" "while" "for" "begin" "try" "type" "function" "struct"))
 
 (defconst julia-block-other-keywords
   (list "else" "elseif"))



reply via email to

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