aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1998-03-11 10:59:50 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1998-03-11 10:59:50 -0300
commit99cc4b20f2c9e33600948fb0489c6d1d1c160518 (patch)
treef6d49f35b1417962c56c88def347dd6d796360ac
parent0969a971cd41921bd5ee72c1da880455bcca3bb4 (diff)
downloadlua-99cc4b20f2c9e33600948fb0489c6d1d1c160518.tar.gz
lua-99cc4b20f2c9e33600948fb0489c6d1d1c160518.tar.bz2
lua-99cc4b20f2c9e33600948fb0489c6d1d1c160518.zip
details
-rw-r--r--lopcodes.h6
-rw-r--r--ltm.c4
-rw-r--r--lvm.c8
3 files changed, 9 insertions, 9 deletions
diff --git a/lopcodes.h b/lopcodes.h
index ee0f9354..591ff7f4 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.h,v 1.14 1997/12/30 19:08:23 roberto Exp roberto $ 2** $Id: lopcodes.h,v 1.16 1998/03/10 17:15:05 roberto Exp $
3** Opcodes for Lua virtual machine 3** Opcodes for Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -119,9 +119,9 @@ SETTABLE0,/* - v i t - t[i]=v */
119 119
120SETTABLE,/* b v a_b...a_1 i t a_b...a_1 i t t[i]=v */ 120SETTABLE,/* b v a_b...a_1 i t a_b...a_1 i t t[i]=v */
121 121
122SETLIST,/* b c v_b...v_1 t - t[i+c*FPF]=v_i */ 122SETLIST,/* b c v_c...v_1 t - t[i+b*FPF]=v_i */
123SETLIST0,/* b v_b...v_1 t - t[i]=v_i */ 123SETLIST0,/* b v_b...v_1 t - t[i]=v_i */
124SETLISTW,/* w c v_b...v_1 t - t[i+c*FPF]=v_i */ 124SETLISTW,/* w c v_c...v_1 t - t[i+w*FPF]=v_i */
125 125
126SETMAP,/* b v_b k_b ...v_0 k_0 t t t[k_i]=v_i */ 126SETMAP,/* b v_b k_b ...v_0 k_0 t t t[k_i]=v_i */
127SETMAP0,/* - v_0 k_0 t t t[k_0]=v_0 */ 127SETMAP0,/* - v_0 k_0 t t t[k_0]=v_0 */
diff --git a/ltm.c b/ltm.c
index af332f04..724fee76 100644
--- a/ltm.c
+++ b/ltm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltm.c,v 1.13 1998/01/02 17:46:32 roberto Exp roberto $ 2** $Id: ltm.c,v 1.14 1998/03/09 21:49:52 roberto Exp roberto $
3** Tag methods 3** Tag methods
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -148,7 +148,7 @@ void luaT_settagmethod (int t, char *event, TObject *func)
148 int e = luaI_checkevent(event, luaT_eventname); 148 int e = luaI_checkevent(event, luaT_eventname);
149 checktag(t); 149 checktag(t);
150 if (!validevent(t, e)) 150 if (!validevent(t, e))
151 luaL_verror("settagmethod: cannot change internal method `%.20s' for tag %d", 151 luaL_verror("settagmethod: cannot change tag method `%.20s' for tag %d",
152 luaT_eventname[e], t); 152 luaT_eventname[e], t);
153 *func = *luaT_getim(t,e); 153 *func = *luaT_getim(t,e);
154 *luaT_getim(t, e) = temp; 154 *luaT_getim(t, e) = temp;
diff --git a/lvm.c b/lvm.c
index 3bb8d921..2b1622d1 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 1.24 1998/03/06 16:54:42 roberto Exp roberto $ 2** $Id: lvm.c,v 1.25 1998/03/09 21:49:52 roberto Exp roberto $
3** Lua virtual machine 3** Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -136,9 +136,9 @@ void luaV_gettable (void)
136 136
137/* 137/*
138** Function to store indexed based on values at the stack.top 138** Function to store indexed based on values at the stack.top
139** mode = 0: raw store (without internal methods) 139** mode = 0: raw store (without tag methods)
140** mode = 1: normal store (with internal methods) 140** mode = 1: normal store (with tag methods)
141** mode = 2: "deep L->stack.stack" store (with internal methods) 141** mode = 2: "deep L->stack.stack" store (with tag methods)
142*/ 142*/
143void luaV_settable (TObject *t, int mode) 143void luaV_settable (TObject *t, int mode)
144{ 144{