aboutsummaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'lopcodes.h')
-rw-r--r--lopcodes.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/lopcodes.h b/lopcodes.h
index edd88553..8d971689 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.h,v 1.48 2000/03/10 18:37:44 roberto Exp roberto $ 2** $Id: lopcodes.h,v 1.49 2000/03/13 20:37:16 roberto Exp roberto $
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*/
@@ -161,4 +161,25 @@ OP_SETLINE/* U - - LINE=u */
161#define LFIELDS_PER_FLUSH 64 /* FPF - lists (SETLIST) (<=MAXARG_B) */ 161#define LFIELDS_PER_FLUSH 64 /* FPF - lists (SETLIST) (<=MAXARG_B) */
162 162
163 163
164/*
165** we use int to manipulte most arguments, so they must fit
166*/
167#if MAXARG_U > MAX_INT
168#undef MAXARG_U
169#define MAXARG_U MAX_INT
170#endif
171#if MAXARG_S > MAX_INT
172#undef MAXARG_S
173#define MAXARG_S MAX_INT
174#endif
175#if MAXARG_A > MAX_INT
176#undef MAXARG_A
177#define MAXARG_A MAX_INT
178#endif
179#if MAXARG_B > MAX_INT
180#undef MAXARG_B
181#define MAXARG_B MAX_INT
182#endif
183
184
164#endif 185#endif