From 58fbdc76d558c8039a966852ca07802f0a413b11 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 25 May 2000 15:59:59 -0300 Subject: better implementation for looh-ahead --- llex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llex.c') diff --git a/llex.c b/llex.c index e5275682..3c446e23 100644 --- a/llex.c +++ b/llex.c @@ -1,5 +1,5 @@ /* -** $Id: llex.c,v 1.59 2000/05/24 13:54:49 roberto Exp roberto $ +** $Id: llex.c,v 1.60 2000/05/24 18:04:17 roberto Exp roberto $ ** Lexical Analyzer ** See Copyright Notice in lua.h */ @@ -108,7 +108,7 @@ static void firstline (LexState *LS) void luaX_setinput (lua_State *L, LexState *LS, ZIO *z) { LS->L = L; LS->current = '\n'; - LS->next.token = TK_EOS; /* no next token */ + LS->lookahead.token = TK_EOS; /* no look-ahead token */ LS->linenumber = 0; LS->iflevel = 0; LS->ifstate[0].skip = 0; -- cgit v1.2.3-55-g6feb