aboutsummaryrefslogtreecommitdiff
path: root/lcode.c
diff options
context:
space:
mode:
Diffstat (limited to 'lcode.c')
-rw-r--r--lcode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lcode.c b/lcode.c
index c5602397..b4d52e65 100644
--- a/lcode.c
+++ b/lcode.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lcode.c,v 1.10 2000/03/10 18:37:44 roberto Exp roberto $ 2** $Id: lcode.c,v 1.11 2000/03/13 20:37:16 roberto Exp roberto $
3** Code generator for Lua 3** Code generator for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -37,7 +37,7 @@ static Instruction *previous_instruction (FuncState *fs) {
37} 37}
38 38
39 39
40int luaK_primitivecode (FuncState *fs, Instruction i) { 40static int luaK_primitivecode (FuncState *fs, Instruction i) {
41 luaM_growvector(fs->L, fs->f->code, fs->pc, 1, Instruction, codeEM, MAXARG_S); 41 luaM_growvector(fs->L, fs->f->code, fs->pc, 1, Instruction, codeEM, MAXARG_S);
42 fs->f->code[fs->pc] = i; 42 fs->f->code[fs->pc] = i;
43 return fs->pc++; 43 return fs->pc++;