aboutsummaryrefslogtreecommitdiff
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-b4cd38ba6c148cf7db5deae6208b660c3417cac9.tar.gz
lua-b4cd38ba6c148cf7db5deae6208b660c3417cac9.tar.bz2
lua-b4cd38ba6c148cf7db5deae6208b660c3417cac9.zip
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 @@
1/* 1/*
2** $Id: lparser.c,v 2.2 2004/03/12 19:53:56 roberto Exp roberto $ 2** $Id: lparser.c,v 2.3 2004/03/26 14:02:41 roberto Exp roberto $
3** Lua Parser 3** Lua Parser
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -8,6 +8,7 @@
8#include <string.h> 8#include <string.h>
9 9
10#define lparser_c 10#define lparser_c
11#define LUA_CORE
11 12
12#include "lua.h" 13#include "lua.h"
13 14
@@ -977,12 +978,6 @@ static int cond (LexState *ls) {
977** after its body (and thus avoiding one jump in the loop). 978** after its body (and thus avoiding one jump in the loop).
978*/ 979*/
979 980
980/*
981** maximum size of expressions for optimizing `while' code
982*/
983#ifndef MAXEXPWHILE
984#define MAXEXPWHILE 100
985#endif
986 981
987/* 982/*
988** the call `luaK_goiffalse' may grow the size of an expression by 983** the call `luaK_goiffalse' may grow the size of an expression by