From 92791b9dd651b439de85bd761b47c837b78414fd Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 7 Nov 1997 13:09:49 -0200 Subject: small details --- llex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llex.c') diff --git a/llex.c b/llex.c index 9ab8ae5c..5b800011 100644 --- a/llex.c +++ b/llex.c @@ -1,5 +1,5 @@ /* -** $Id: llex.c,v 1.3 1997/10/13 22:10:45 roberto Exp roberto $ +** $Id: llex.c,v 1.4 1997/11/04 15:27:53 roberto Exp roberto $ ** Lexical Analizer ** See Copyright Notice in lua.h */ @@ -110,7 +110,7 @@ static void skipspace (void) static int checkcond (char *buff) { - static char *opts[] = {"nil", "1"}; + static char *opts[] = {"nil", "1", NULL}; int i = luaO_findstring(buff, opts); if (i >= 0) return i; else if (isalpha((unsigned char)buff[0]) || buff[0] == '_') -- cgit v1.2.3-55-g6feb