Lua - Changed LUA_MAXCAPTURES (the number of captures in one pattern matching statement) from the default 32 to 256

This commit is contained in:
jsmorley
2011-01-31 00:10:47 +00:00
parent b2c8ad72d1
commit 5ca200556a
3 changed files with 7 additions and 7 deletions

View File

@ -630,7 +630,7 @@ union luai_Cast { double l_d; long l_l; };
@* can do during pattern-matching.
** CHANGE it if you need more captures. This limit is arbitrary.
*/
#define LUA_MAXCAPTURES 32
#define LUA_MAXCAPTURES 256
/*

View File

@ -630,7 +630,7 @@ union luai_Cast { double l_d; long l_l; };
@* can do during pattern-matching.
** CHANGE it if you need more captures. This limit is arbitrary.
*/
#define LUA_MAXCAPTURES 32
#define LUA_MAXCAPTURES 256
/*