summaryrefslogtreecommitdiff
path: root/lobject.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-06-03 11:08:43 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-06-03 11:08:43 -0300
commit5094c37988a535f665c874c2656a992670981451 (patch)
treeadf72932ba91b59e91e720bfcc75d0b894403c87 /lobject.c
parent46c471d7e97292d923721655683affd7e8b314de (diff)
downloadlua-5094c37988a535f665c874c2656a992670981451.tar.gz
lua-5094c37988a535f665c874c2656a992670981451.tar.bz2
lua-5094c37988a535f665c874c2656a992670981451.zip
`strconc' -> `concat'
Diffstat (limited to 'lobject.c')
-rw-r--r--lobject.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lobject.c b/lobject.c
index a57db0c3..34cb1ad1 100644
--- a/lobject.c
+++ b/lobject.c
@@ -1,12 +1,11 @@
1/* 1/*
2** $Id: lobject.c,v 1.80 2002/05/15 18:57:44 roberto Exp roberto $ 2** $Id: lobject.c,v 1.81 2002/05/16 18:39:46 roberto Exp roberto $
3** Some generic functions over Lua objects 3** Some generic functions over Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
6 6
7#include <ctype.h> 7#include <ctype.h>
8#include <stdarg.h> 8#include <stdarg.h>
9#include <stdio.h>
10#include <stdlib.h> 9#include <stdlib.h>
11#include <string.h> 10#include <string.h>
12 11
@@ -135,7 +134,7 @@ const char *luaO_pushvfstring (lua_State *L, const char *fmt, va_list argp) {
135 fmt = e+2; 134 fmt = e+2;
136 } 135 }
137 pushstr(L, fmt); 136 pushstr(L, fmt);
138 luaV_strconc(L, n+1, L->top - L->ci->base - 1); 137 luaV_concat(L, n+1, L->top - L->ci->base - 1);
139 L->top -= n; 138 L->top -= n;
140 return svalue(L->top - 1); 139 return svalue(L->top - 1);
141} 140}