update lpeg to 0.12.1

This commit is contained in:
Cloud Wu
2015-02-02 22:45:44 +08:00
parent 6abb2dab7e
commit 05ae055097
9 changed files with 173 additions and 124 deletions

View File

@@ -1,7 +1,7 @@
/*
** $Id: lptypes.h,v 1.8 2013/04/12 16:26:38 roberto Exp $
** $Id: lptypes.h,v 1.10 2014/12/12 17:11:35 roberto Exp $
** LPeg - PEG pattern matching for Lua
** Copyright 2007, Lua.org & PUC-Rio (see 'lpeg.html' for license)
** Copyright 2007-2014, Lua.org & PUC-Rio (see 'lpeg.html' for license)
** written by Roberto Ierusalimschy
*/
@@ -19,7 +19,7 @@
#include "lua.h"
#define VERSION "0.12"
#define VERSION "0.12.1"
#define PATTERN_T "lpeg-pattern"
@@ -56,7 +56,9 @@
/* maximum number of rules in a grammar */
#define MAXRULES 200
#if !defined(MAXRULES)
#define MAXRULES 1000
#endif