diff options
Diffstat (limited to 'ldo.c')
| -rw-r--r-- | ldo.c | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: $ | 2 | ** $Id: ldo.c,v 1.1 1997/09/16 19:25:59 roberto Exp roberto $ |
| 3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -9,6 +9,7 @@ | |||
| 9 | #include <stdio.h> | 9 | #include <stdio.h> |
| 10 | #include <string.h> | 10 | #include <string.h> |
| 11 | 11 | ||
| 12 | #include "lbuiltin.h" | ||
| 12 | #include "ldo.h" | 13 | #include "ldo.h" |
| 13 | #include "lgc.h" | 14 | #include "lgc.h" |
| 14 | #include "lmem.h" | 15 | #include "lmem.h" |
| @@ -50,6 +51,7 @@ static void initstack (int n) | |||
| 50 | luaD_stack.last = luaD_stack.stack+(maxstack-1); | 51 | luaD_stack.last = luaD_stack.stack+(maxstack-1); |
| 51 | luaD_stack.top = luaD_stack.stack; | 52 | luaD_stack.top = luaD_stack.stack; |
| 52 | *(luaD_stack.top++) = initial_stack; | 53 | *(luaD_stack.top++) = initial_stack; |
| 54 | luaB_predefine(); | ||
| 53 | } | 55 | } |
| 54 | 56 | ||
| 55 | 57 | ||
