diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-12-17 10:26:09 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-12-17 10:26:09 -0200 |
| commit | de6fc75d630b393d8b577ba03353abe527523d0f (patch) | |
| tree | 385cb83b63b2ec409cde308c776e7c4c2073ff84 /lstrlib.c | |
| parent | 2af0d3b4598060b1086884cfb879d39fa4e0c89a (diff) | |
| download | lua-de6fc75d630b393d8b577ba03353abe527523d0f.tar.gz lua-de6fc75d630b393d8b577ba03353abe527523d0f.tar.bz2 lua-de6fc75d630b393d8b577ba03353abe527523d0f.zip | |
several configuration options that do not change often moved out of
luaconf.h and into more internal files
Diffstat (limited to 'lstrlib.c')
| -rw-r--r-- | lstrlib.c | 11 |
1 files changed, 10 insertions, 1 deletions
| @@ -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 | ||
