X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=runtime%2Fsyntax%2Fjavascript.yaml;h=244ad8110db96a68165c8621ce7a6963cb5bec6b;hb=1c4e2eb09fe980394330499708311abe8fb7d719;hp=dfce427265362724b6df6b679032ebacd79b02ff;hpb=ba98e973c4a5321fa39b9d77ad0ad22eb9890325;p=micro.git diff --git a/runtime/syntax/javascript.yaml b/runtime/syntax/javascript.yaml index dfce4272..244ad811 100644 --- a/runtime/syntax/javascript.yaml +++ b/runtime/syntax/javascript.yaml @@ -20,7 +20,7 @@ rules: - statement: "\\b(for|function|class|extends|get|if|import|from|in|of|instanceof|let|new|return|set)\\b" - statement: "\\b(super|switch|this|throw|try|typeof|var|void|while|with|yield)\\b" # reserved but unassigned - - error: "\\b(enum|implements|interface|package|private|protected|public)" + - error: "\\b(enum|implements|interface|package|private|protected|public|TODO)" - constant: "\\b(null|undefined|NaN)\\b" - constant: "\\b(true|false)\\b" - type: "\\b(Array|Boolean|Date|Enumerator|Error|Function|Math)\\b"