X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=runtime%2Fsyntax%2Fjavascript.yaml;h=467f3820112d86eae0793f601f76dac6fe136781;hb=54c23cae72d7237bc898a59f79aad0acffdf0ffe;hp=3883bb0e896486f9da418a29a3be881e6fcb07df;hpb=b0c50d371fc8f3791a5e44310fe2a3e8c8c396d2;p=micro.git diff --git a/runtime/syntax/javascript.yaml b/runtime/syntax/javascript.yaml index 3883bb0e..467f3820 100644 --- a/runtime/syntax/javascript.yaml +++ b/runtime/syntax/javascript.yaml @@ -20,7 +20,7 @@ rules: - statement: "\\b(async|await|break|case|catch|const|continue|debugger|default)\\b" - statement: "\\b(delete|do|else|export|finally|for|function\\*?|class|extends)\\b" - statement: "\\b(get|if|import|from|in|of|instanceof|let|new|reject|resolve|return)\\b" - - statement: "\\b(set|super|switch|this|throw|try|typeof|var|void|while|with|yield)\\b" + - statement: "\\b(set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\\b" # reserved but unassigned - error: "\\b(enum|implements|interface|package|private|protected|public)" - constant: "\\b(globalThis|Infinity|null|undefined|NaN)\\b"