From a2ce8114f107464473070427e69e84f4923bd08a Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Mon, 20 Jul 2026 10:20:49 +0200 Subject: Backport some v3.0 syntax extensions. Documentation in #1475. Backport discussion in #1476. Thanks to Appla, slashOwO, Sergey Kaplun, CppCXY. --- src/lj_obj.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lj_obj.h') diff --git a/src/lj_obj.h b/src/lj_obj.h index f380c78fc..96dc1e0d0 100644 --- a/src/lj_obj.h +++ b/src/lj_obj.h @@ -401,6 +401,7 @@ typedef struct GCproto { #define PROTO_FFI 0x04 /* Uses BC_KCDATA for FFI datatypes. */ #define PROTO_NOJIT 0x08 /* JIT disabled for this function. */ #define PROTO_ILOOP 0x10 /* Patched bytecode with ILOOP etc. */ +#define PROTO_BITOP 0x80 /* Uses bit operator bytecodes. */ /* Only used during parsing. */ #define PROTO_HAS_RETURN 0x20 /* Already emitted a return. */ #define PROTO_FIXUP_RETURN 0x40 /* Need to fixup emitted returns. */ -- cgit v1.2.3-55-g6feb