diff options
Diffstat (limited to 'lua.c')
| -rw-r--r-- | lua.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -3,7 +3,7 @@ | |||
| 3 | ** Linguagem para Usuarios de Aplicacao | 3 | ** Linguagem para Usuarios de Aplicacao |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| 6 | char *rcs_lua="$Id: lua.c,v 1.13 1996/07/06 20:20:35 roberto Exp roberto $"; | 6 | char *rcs_lua="$Id: lua.c,v 1.14 1996/09/24 17:30:28 roberto Exp roberto $"; |
| 7 | 7 | ||
| 8 | #include <stdio.h> | 8 | #include <stdio.h> |
| 9 | #include <string.h> | 9 | #include <string.h> |
| @@ -59,8 +59,8 @@ int main (int argc, char *argv[]) | |||
| 59 | result = lua_dofile (argv[i]); | 59 | result = lua_dofile (argv[i]); |
| 60 | if (result) { | 60 | if (result) { |
| 61 | if (result == 2) { | 61 | if (result == 2) { |
| 62 | fprintf(stderr, "lua: cannot execute file `%s' - ", argv[i]); | 62 | fprintf(stderr, "lua: cannot execute file "); |
| 63 | perror(NULL); | 63 | perror(argv[i]); |
| 64 | } | 64 | } |
| 65 | return 1; | 65 | return 1; |
| 66 | } | 66 | } |
