diff options
Diffstat (limited to '')
| -rw-r--r-- | lparser.c | 9 |
1 files changed, 2 insertions, 7 deletions
| @@ -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 |
