From 24bf757183d8bd97f6f5b43d916814f3269c8347 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 17 Apr 2019 14:08:22 -0300 Subject: Implementation of UTF-8 ranges New constructor 'lpeg.utfR(from, to)' creates a pattern that matches UTF-8 byte sequences representing code points in the range [from, to]. --- lptypes.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lptypes.h') diff --git a/lptypes.h b/lptypes.h index 223d887..eea3d0c 100644 --- a/lptypes.h +++ b/lptypes.h @@ -37,6 +37,8 @@ #define luaL_setfuncs(L,f,n) luaL_register(L,NULL,f) #define luaL_newlib(L,f) luaL_register(L,"lpeg",f) +typedef size_t lua_Unsigned; + #endif -- cgit v1.2.3-55-g6feb