about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-05-07 19:05:58 +0200
committerbptato <nincsnevem662@gmail.com>2024-05-07 19:05:58 +0200
commitb3a88c3da0d5d6f8be737881bd115a497bd8c30c (patch)
tree4dcfadaaf46782a94b33e8cf6b242d65e038f6d2
parent558f9eb1a350d4857fe2bf8878eca0b37060eb97 (diff)
downloadchawan-b3a88c3da0d5d6f8be737881bd115a497bd8c30c.tar.gz
libunicode: fix compilation
-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