diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-03-05 17:45:01 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-03-05 17:45:01 -0300 |
commit | 78edc241e95d467e2b6c9a26b5311a62c7b04459 (patch) | |
tree | 70a0a7dbbc44c6b3c05adb506100b237e3a99caf /ldo.c | |
parent | e907c711c04b3e09164e7654623e1f48a689f5cc (diff) | |
download | lua-78edc241e95d467e2b6c9a26b5311a62c7b04459.tar.gz lua-78edc241e95d467e2b6c9a26b5311a62c7b04459.tar.bz2 lua-78edc241e95d467e2b6c9a26b5311a62c7b04459.zip |
details about debug info.
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.36 1999/02/26 15:48:55 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 1.37 1999/03/04 21:17:26 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 | */ |
@@ -367,7 +367,7 @@ int lua_dofile (char *filename) { | |||
367 | if (f == NULL) | 367 | if (f == NULL) |
368 | return 2; | 368 | return 2; |
369 | if (filename == NULL) | 369 | if (filename == NULL) |
370 | strcpy(name, "@stdin"); | 370 | strcpy(name, "@(stdin)"); |
371 | else | 371 | else |
372 | sprintf(name, "@%.*s", MAXFILENAME, filename); | 372 | sprintf(name, "@%.*s", MAXFILENAME, filename); |
373 | c = fgetc(f); | 373 | c = fgetc(f); |