aboutsummaryrefslogtreecommitdiff
path: root/lcode.c
diff options
context:
space:
mode:
Diffstat (limited to 'lcode.c')
-rw-r--r--lcode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lcode.c b/lcode.c
index c76b899e..16c698a7 100644
--- a/lcode.c
+++ b/lcode.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lcode.c,v 2.19 2005/10/13 12:21:51 roberto Exp roberto $ 2** $Id: lcode.c,v 2.20 2005/10/24 17:37:52 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*/
@@ -559,7 +559,7 @@ void luaK_goiftrue (FuncState *fs, expdesc *e) {
559} 559}
560 560
561 561
562void luaK_goiffalse (FuncState *fs, expdesc *e) { 562static void luaK_goiffalse (FuncState *fs, expdesc *e) {
563 int pc; /* pc of last jump */ 563 int pc; /* pc of last jump */
564 luaK_dischargevars(fs, e); 564 luaK_dischargevars(fs, e);
565 switch (e->k) { 565 switch (e->k) {
@@ -778,7 +778,7 @@ void luaK_fixline (FuncState *fs, int line) {
778} 778}
779 779
780 780
781int luaK_code (FuncState *fs, Instruction i, int line) { 781static int luaK_code (FuncState *fs, Instruction i, int line) {
782 Proto *f = fs->f; 782 Proto *f = fs->f;
783 dischargejpc(fs); /* `pc' will change */ 783 dischargejpc(fs); /* `pc' will change */
784 /* put new instruction in code array */ 784 /* put new instruction in code array */