diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-05-27 11:06:58 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-05-27 11:06:58 -0300 |
commit | 9a1948e67d940d988260e738f2a251087835a318 (patch) | |
tree | 718d4bbc80e3fc80225f30d38a6a4732c74dba4f | |
parent | f9deeac632ce1f6637bbfc1ccaddb08641082568 (diff) | |
download | lua-9a1948e67d940d988260e738f2a251087835a318.tar.gz lua-9a1948e67d940d988260e738f2a251087835a318.tar.bz2 lua-9a1948e67d940d988260e738f2a251087835a318.zip |
small correction.
-rw-r--r-- | iolib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,7 +3,7 @@ | |||
3 | ** Input/output library to LUA | 3 | ** Input/output library to LUA |
4 | */ | 4 | */ |
5 | 5 | ||
6 | char *rcs_iolib="$Id: iolib.c,v 1.44 1996/05/03 20:10:59 roberto Exp roberto $"; | 6 | char *rcs_iolib="$Id: iolib.c,v 1.45 1996/05/22 21:59:07 roberto Exp roberto $"; |
7 | 7 | ||
8 | #include <stdio.h> | 8 | #include <stdio.h> |
9 | #include <ctype.h> | 9 | #include <ctype.h> |
@@ -541,7 +541,7 @@ static void io_debug (void) | |||
541 | char buffer[250]; | 541 | char buffer[250]; |
542 | fprintf(stderr, "lua_debug> "); | 542 | fprintf(stderr, "lua_debug> "); |
543 | if (fgets(buffer, sizeof(buffer), stdin) == 0) return; | 543 | if (fgets(buffer, sizeof(buffer), stdin) == 0) return; |
544 | if (strcmp(buffer, "cont") == 0) return; | 544 | if (strcmp(buffer, "cont\n") == 0) return; |
545 | lua_dostring(buffer); | 545 | lua_dostring(buffer); |
546 | } | 546 | } |
547 | } | 547 | } |