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

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

[nongnu] elpa/julia-mode d678dc6 005/352: this is the promised round of


From: ELPA Syncer
Subject: [nongnu] elpa/julia-mode d678dc6 005/352: this is the promised round of type system changes
Date: Sun, 29 Aug 2021 11:22:04 -0400 (EDT)

branch: elpa/julia-mode
commit d678dc6f667569d78b7ba5db0d2567844d927f63
Author: Jeff Bezanson <bezanson@mathstation049.mit.edu>
Commit: Yichao Yu <yyc1992@gmail.com>

    this is the promised round of type system changes
    it is now possible to construct types at run time
---
 julia-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/julia-mode.el b/julia-mode.el
index 2906b22..952df85 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -38,14 +38,14 @@
   "Syntax table for julia-mode")
 
 (defconst julia-font-lock-keywords
-  (list 
'("\\<\\(null\\|true\\|false\\|\\(c?\\(u?int\\(8\\|16\\|32\\)\\|float\\|double\\|bool\\|uint1\\)\\)\\)\\>"
 .
+  (list 
'("\\<\\(true\\|false\\|\\|Uint\\(8\\|16\\|32\\|64\\)\\|Int\\(8\\|16\\|32\\|64\\)\\|Float\\|Double\\|Boolean\\|Scalar\\|Real\\|Int\\|Tensor\\|Array\\|Tuple\\|Buffer\\|Size\\|Symbol\\|Function\\|Vector\\|Matrix\\|Union\\|Type\\|Any\\|Bottom\\)\\>"
 .
       font-lock-type-face)
     (cons
      (concat "\\<\\("
          (mapconcat
           'identity
           '("if" "else" "elseif" "while" "for" "begin" "end" "block"
-            "try" "return" "local" "type" "function" "new" "quote" "typename"
+            "try" "return" "local" "type" "function" "new" "quote"
            "typealias" "break" "continue")
           "\\|") "\\)\\>")
      'font-lock-keyword-face)



reply via email to

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