diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-22 15:59:59 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-22 15:59:59 -0300 |
commit | 5f37134e64aec3a0414a41c11d6b055c667369d1 (patch) | |
tree | 29415835aca3bc8bfe31c9e4c03d894ac6bcef09 /ldo.c | |
parent | 52ee91dd73199e068d31d3ac138d933ddd4fb9b1 (diff) | |
download | lua-5f37134e64aec3a0414a41c11d6b055c667369d1.tar.gz lua-5f37134e64aec3a0414a41c11d6b055c667369d1.tar.bz2 lua-5f37134e64aec3a0414a41c11d6b055c667369d1.zip |
avoid '...' and "..." inside comments
Diffstat (limited to 'ldo.c')
-rw-r--r-- | ldo.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.c,v 1.124 2001/02/20 18:15:33 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 1.125 2001/02/22 17:15:18 roberto Exp roberto $ |
3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -276,7 +276,7 @@ static int parse_file (lua_State *L, const char *filename) { | |||
276 | lua_pushliteral(L, "@"); | 276 | lua_pushliteral(L, "@"); |
277 | lua_pushstring(L, (filename == NULL) ? "(stdin)" : filename); | 277 | lua_pushstring(L, (filename == NULL) ? "(stdin)" : filename); |
278 | lua_concat(L, 2); | 278 | lua_concat(L, 2); |
279 | filename = lua_tostring(L, -1); /* filename = '@'..filename */ | 279 | filename = lua_tostring(L, -1); /* filename = `@'..filename */ |
280 | luaZ_Fopen(&z, f, filename); | 280 | luaZ_Fopen(&z, f, filename); |
281 | status = protectedparser(L, &z, bin); | 281 | status = protectedparser(L, &z, bin); |
282 | lua_remove(L, -2); /* remove filename */ | 282 | lua_remove(L, -2); /* remove filename */ |