X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=runtime%2Fsyntax%2Fscala.yaml;h=1c962c5be9392ba622d90cde7e9b2844587fe814;hb=a274daeaaf4300d4f97f2606bb756744fb144112;hp=327b2b990901fe4c1077cee0e6ed4fb93154a22d;hpb=47ef864295fa52202214098313b297c8af66654a;p=micro.git diff --git a/runtime/syntax/scala.yaml b/runtime/syntax/scala.yaml index 327b2b99..1c962c5b 100644 --- a/runtime/syntax/scala.yaml +++ b/runtime/syntax/scala.yaml @@ -6,7 +6,7 @@ detect: rules: - type: "\\b(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\\b" - statement: "\\b(match|val|var|break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\\b" - - statement: "\\b(def|object|case|trait|lazy|implicit|abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile|sealed)\\b" + - statement: "\\b(def|object|case|trait|lazy|implicit|abstract|class|extends|with|final|implements|override|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile|sealed)\\b" - constant.string: start: "\"" end: "\""