branch: elpa/julia-mode
commit 1f9a1a76b0d0684f1a98adca8d1ad5d88979f149
Author: Jeff Bezanson <bezan...@post.harvard.edu>
Commit: Yichao Yu <yyc1...@gmail.com>

    redesign of type system and its syntax:
      - new and convert are now kept inside their types
      - distinct type kinds
      - type parameters are first-class TypeVars, and type constructors
        are distinct from types
      - user-defined abstract types
      - no more `
      - dummy TypeVars are filled in automatically if a type constructor
        is used in a declaration
    also a fix to the REPL
---
 julia-mode.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/julia-mode.el b/julia-mode.el
index 48eb090..85e45fe 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -45,15 +45,15 @@
          (mapconcat
           'identity
           '("if" "else" "elseif" "while" "for" "begin" "end" "block"
-            "try" "catch" "return" "local" "type" "function" "new" "quote"
-           "typealias" "break" "continue" "conversion" "global" "macro"
+            "try" "catch" "return" "local" "type" "function" "quote"
+           "typealias" "break" "continue" "struct" "global" "macro"
            "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" "conversion"
+  (list "if" "while" "for" "begin" "try" "type" "function" "struct"
        "macro"))
 
 (defconst julia-block-other-keywords

Reply via email to