aboutsummaryrefslogtreecommitdiff
path: root/lbuiltin.c
diff options
context:
space:
mode:
Diffstat (limited to 'lbuiltin.c')
-rw-r--r--lbuiltin.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/lbuiltin.c b/lbuiltin.c
index 077bcc46..6cf915ca 100644
--- a/lbuiltin.c
+++ b/lbuiltin.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lbuiltin.c,v 1.57 1999/05/24 17:53:49 roberto Exp roberto $ 2** $Id: lbuiltin.c,v 1.58 1999/05/27 20:21:03 roberto Exp roberto $
3** Built-in functions 3** Built-in functions
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -111,7 +111,10 @@ static void error_message (void) {
111** model but changing "fputs" to put the strings at a proper place 111** model but changing "fputs" to put the strings at a proper place
112** (a console window or a log file, for instance). 112** (a console window or a log file, for instance).
113*/ 113*/
114#define MAXPRINT 40 114#ifndef MAXPRINT
115#define MAXPRINT 40 /* arbitrary limit */
116#endif
117
115static void luaB_print (void) { 118static void luaB_print (void) {
116 lua_Object args[MAXPRINT]; 119 lua_Object args[MAXPRINT];
117 lua_Object obj; 120 lua_Object obj;