]> git.lizzy.rs Git - micro.git/commitdiff
Update julia.yml (#1262)
authorKrerkkiat Chusap <krerkkiat@users.noreply.github.com>
Sat, 11 Jan 2020 18:41:52 +0000 (13:41 -0500)
committerZachary Yedidia <zyedidia@gmail.com>
Sat, 11 Jan 2020 18:41:52 +0000 (13:41 -0500)
Add export to the keywords. This should fixes zyedidia/micro#1215.

runtime/syntax/julia.yaml

index ecda7c8127e85366f08515279ff8b9fb958f4c60..1c81356b6fc3afe715142f35dd05ceca3fa309fd 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|struct|else|end|finally|for|global|local|let|const|if|import|using|macro|println|return|try|while|module)\\b"
+    - statement: "\\b(begin|break|catch|continue|function|elseif|struct|else|end|finally|for|global|local|let|const|if|import|export|using|macro|println|return|try|while|module)\\b"
       # decorators
     - identifier.macro: "@[A-Za-z0-9_]+"
       # operators