aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1996-05-27 11:06:58 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1996-05-27 11:06:58 -0300
commit9a1948e67d940d988260e738f2a251087835a318 (patch)
tree718d4bbc80e3fc80225f30d38a6a4732c74dba4f
parentf9deeac632ce1f6637bbfc1ccaddb08641082568 (diff)
downloadlua-9a1948e67d940d988260e738f2a251087835a318.tar.gz
lua-9a1948e67d940d988260e738f2a251087835a318.tar.bz2
lua-9a1948e67d940d988260e738f2a251087835a318.zip
small correction.
-rw-r--r--iolib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/iolib.c b/iolib.c
index 9fec943c..f7b80f89 100644
--- a/iolib.c
+++ b/iolib.c
@@ -3,7 +3,7 @@
3** Input/output library to LUA 3** Input/output library to LUA
4*/ 4*/
5 5
6char *rcs_iolib="$Id: iolib.c,v 1.44 1996/05/03 20:10:59 roberto Exp roberto $"; 6char *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}