about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--lib/quickjs/libunicode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/quickjs/libunicode.h b/lib/quickjs/libunicode.h
index cc2f244c..999ab583 100644
--- a/lib/quickjs/libunicode.h
+++ b/lib/quickjs/libunicode.h
@@ -170,7 +170,7 @@ static inline int lre_js_is_ident_next(uint32_t c) {
     } else {
         /* ZWNJ and ZWJ are accepted in identifiers */
         if (c >= 0x200C && c <= 0x200D)
-            return TRUE;
+            return 1;
 #ifdef CONFIG_ALL_UNICODE
         return lre_is_id_continue(c);
 #else