diff --git a/src/jsapi.c b/src/jsapi.c index 8eb7372..b99f8ce 100644 --- a/src/jsapi.c +++ b/src/jsapi.c @@ -936,7 +936,8 @@ static const char* const JsKeywords [] = "break", "do", "instanceof", "typeof", "case", "else", "new", "var", "catch", "finally", "return", "void", "continue", "for", "switch", "while", "debugger", "function", "this", "with", - "default", "if", "throw", "delete", "in", "try", "const" + "default", "if", "throw", "delete", "in", "try", "const", + "true", "false" }; static inline bool isalnum_(char c) {return isalnum(c) || c == '_';} @@ -1034,4 +1035,4 @@ const tic_script_config* getJsScriptConfig() s32 duk_timeout_check(void* udata){return 0;} -#endif /* defined(TIC_BUILD_WITH_JS) */ \ No newline at end of file +#endif /* defined(TIC_BUILD_WITH_JS) */