several configuration options that do not change often moved out of

luaconf.h and into more internal files
This commit is contained in:
Roberto Ierusalimschy
2009-12-17 10:26:09 -02:00
parent 2af0d3b459
commit de6fc75d63
10 changed files with 215 additions and 267 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lstrlib.c,v 1.144 2009/11/24 12:05:44 roberto Exp roberto $
** $Id: lstrlib.c,v 1.145 2009/11/26 16:49:28 roberto Exp roberto $
** Standard library for string operations and pattern-matching
** See Copyright Notice in lua.h
*/
@@ -20,6 +20,15 @@
#include "lualib.h"
/*
** maximum number of captures that a pattern can do during
** pattern-matching. This limit is arbitrary.
*/
#if !defined(LUA_MAXCAPTURES)
#define LUA_MAXCAPTURES 32
#endif
/* macro to `unsign' a character */
#define uchar(c) ((unsigned char)(c))