]> git.lizzy.rs Git - micro.git/commitdiff
Update Julia keywords
authorKoki Fushimi <paalon1936@gmail.com>
Mon, 8 Apr 2019 21:39:46 +0000 (06:39 +0900)
committerKoki Fushimi <paalon1936@gmail.com>
Mon, 8 Apr 2019 21:39:46 +0000 (06:39 +0900)
runtime/syntax/julia.yaml

index c92a0ddf00b70837dcf0909a5635e6892d239ff0..3c7c20fd5755f2ba24e9d430a526758238b0e276 100644 (file)
@@ -13,7 +13,8 @@ rules:
       # definitions
     - identifier: "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
       # keywords
-    - statement: "\\b(begin|break|catch|continue|function|elseif|struct|else|end|finally|for|global|local|const|if|include|import|using|require|macro|println|return|try|type|while|module)\\b"
+    - statement: "\\b(baremodule|begin|break|catch|const|continue|do|else|elseif|end|export|finally|for|function|global|if|import|let|local|macro|module|quote|return|struct|try|using|while)\\b"
+    - statement: "\\b(abstract type|primitive type|mutable struct\\b)"
       # decorators
     - identifier.macro: "@[A-Za-z0-9_]+"
       # operators