From cf1705c1d96b549ef5887a2bc3038dbc31912e50 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 7 Jun 2023 15:41:01 -0300 Subject: Captures point to string positions using indices That uses 4 bytes (uint) instead of 8 (char*); the size of the structure 'Capture' reduces from 16 to 8 bytes in 64-bit machines. --- lpprint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lpprint.h') diff --git a/lpprint.h b/lpprint.h index e97f8c0..aafdafc 100644 --- a/lpprint.h +++ b/lpprint.h @@ -13,7 +13,7 @@ void printpatt (Instruction *p); void printtree (TTree *tree, int ident); void printktable (lua_State *L, int idx); void printcharset (const byte *st); -void printcaplist (Capture *cap, Capture *limit); +void printcaplist (Capture *cap); void printinst (const Instruction *op, const Instruction *p); #else -- cgit v1.2.3-55-g6feb