aboutsummaryrefslogtreecommitdiff
path: root/lstrlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lstrlib.c')
-rw-r--r--lstrlib.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/lstrlib.c b/lstrlib.c
index c25aa34f..09382c6b 100644
--- a/lstrlib.c
+++ b/lstrlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstrlib.c,v 1.144 2009/11/24 12:05:44 roberto Exp roberto $ 2** $Id: lstrlib.c,v 1.145 2009/11/26 16:49:28 roberto Exp roberto $
3** Standard library for string operations and pattern-matching 3** Standard library for string operations and pattern-matching
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -20,6 +20,15 @@
20#include "lualib.h" 20#include "lualib.h"
21 21
22 22
23/*
24** maximum number of captures that a pattern can do during
25** pattern-matching. This limit is arbitrary.
26*/
27#if !defined(LUA_MAXCAPTURES)
28#define LUA_MAXCAPTURES 32
29#endif
30
31
23/* macro to `unsign' a character */ 32/* macro to `unsign' a character */
24#define uchar(c) ((unsigned char)(c)) 33#define uchar(c) ((unsigned char)(c))
25 34