summaryrefslogtreecommitdiff
path: root/lparser.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-04-30 17:13:38 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-04-30 17:13:38 -0300
commitb4cd38ba6c148cf7db5deae6208b660c3417cac9 (patch)
tree8818b5e364c8ad5489a9755d3fc24110bccfdfe2 /lparser.c
parent079facab40542ff2e6be9ecc254fd148772b47c9 (diff)
downloadlua-github-b4cd38ba6c148cf7db5deae6208b660c3417cac9.tar.gz
new scheme for configuration through `luaconf.h'
Diffstat (limited to 'lparser.c')
-rw-r--r--lparser.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/lparser.c b/lparser.c
index b8e1b2a7..d9f6cbd4 100644
--- a/lparser.c
+++ b/lparser.c
@@ -1,5 +1,5 @@
/*
-** $Id: lparser.c,v 2.2 2004/03/12 19:53:56 roberto Exp roberto $
+** $Id: lparser.c,v 2.3 2004/03/26 14:02:41 roberto Exp roberto $
** Lua Parser
** See Copyright Notice in lua.h
*/
@@ -8,6 +8,7 @@
#include <string.h>
#define lparser_c
+#define LUA_CORE
#include "lua.h"
@@ -977,12 +978,6 @@ static int cond (LexState *ls) {
** after its body (and thus avoiding one jump in the loop).
*/
-/*
-** maximum size of expressions for optimizing `while' code
-*/
-#ifndef MAXEXPWHILE
-#define MAXEXPWHILE 100
-#endif
/*
** the call `luaK_goiffalse' may grow the size of an expression by