]> git.lizzy.rs Git - micro.git/commitdiff
Update julia.yaml
authormbesancon <mathieu.besancon@gmail.com>
Fri, 25 May 2018 16:04:12 +0000 (12:04 -0400)
committerGitHub <noreply@github.com>
Fri, 25 May 2018 16:04:12 +0000 (12:04 -0400)
added struct to keywords

runtime/syntax/julia.yaml

index a139cacd425b1671d6b898e1e5f84ddc0a3fcdbe..c92a0ddf00b70837dcf0909a5635e6892d239ff0 100644 (file)
@@ -13,7 +13,7 @@ rules:
       # definitions
     - identifier: "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
       # keywords
-    - statement: "\\b(begin|break|catch|continue|function|elseif|else|end|finally|for|global|local|const|if|include|import|using|require|macro|println|return|try|type|while|module)\\b"
+    - 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"
       # decorators
     - identifier.macro: "@[A-Za-z0-9_]+"
       # operators