From daa937c043bb0ddb5f4bfe676f8ff13825a99651 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 24 Mar 1998 17:14:25 -0300 Subject: pattern-matching support for '\0'. --- liolib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'liolib.c') diff --git a/liolib.c b/liolib.c index 4a499de6..03a74d75 100644 --- a/liolib.c +++ b/liolib.c @@ -1,5 +1,5 @@ /* -** $Id: liolib.c,v 1.15 1998/03/06 16:54:42 roberto Exp roberto $ +** $Id: liolib.c,v 1.16 1998/03/06 18:47:42 roberto Exp roberto $ ** Standard I/O (and system) library ** See Copyright Notice in lua.h */ @@ -209,7 +209,7 @@ static void io_read (void) m = 0; } else { - m = luaI_singlematch((char)c, p, &ep); + m = luaI_singlematch(c, p, &ep); if (m) { if (inskip == 0) luaL_addchar(c); c = NEED_OTHER; -- cgit v1.2.3-55-g6feb