diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-06-18 18:20:45 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-06-18 18:20:45 -0300 |
| commit | f6d95140aeec014f904cf74bdc79bb99ee69f299 (patch) | |
| tree | 83806f2a01811a388e68a0ea65b6319556c2de97 /strlib.c | |
| parent | eca17b24ea9853ff6c2d7101419e190c861983f0 (diff) | |
| download | lua-f6d95140aeec014f904cf74bdc79bb99ee69f299.tar.gz lua-f6d95140aeec014f904cf74bdc79bb99ee69f299.tar.bz2 lua-f6d95140aeec014f904cf74bdc79bb99ee69f299.zip | |
using old version functions.
Diffstat (limited to '')
| -rw-r--r-- | strlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -3,7 +3,7 @@ | |||
| 3 | ** String library to LUA | 3 | ** String library to LUA |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| 6 | char *rcs_strlib="$Id: strlib.c,v 1.42 1997/06/16 20:29:59 roberto Exp roberto $"; | 6 | char *rcs_strlib="$Id: strlib.c,v 1.43 1997/06/18 20:15:47 roberto Exp roberto $"; |
| 7 | 7 | ||
| 8 | #include <string.h> | 8 | #include <string.h> |
| 9 | #include <stdio.h> | 9 | #include <stdio.h> |
| @@ -94,7 +94,7 @@ static void str_sub (void) | |||
| 94 | addnchar(s+start-1, end-start+1); | 94 | addnchar(s+start-1, end-start+1); |
| 95 | lua_pushstring(luaI_addchar(0)); | 95 | lua_pushstring(luaI_addchar(0)); |
| 96 | } | 96 | } |
| 97 | else lua_pushliteral(""); | 97 | else lua_pushstring(""); |
| 98 | } | 98 | } |
| 99 | 99 | ||
| 100 | /* | 100 | /* |
