From e1a127245d3d977945819240a2df90ceb8ae516f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 24 Jul 1998 15:02:38 -0300 Subject: details ("luaX_token2str" doesn't need LexState) --- llex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llex.c') diff --git a/llex.c b/llex.c index 41ca76e8..e5570723 100644 --- a/llex.c +++ b/llex.c @@ -1,5 +1,5 @@ /* -** $Id: llex.c,v 1.22 1998/06/19 18:47:06 roberto Exp roberto $ +** $Id: llex.c,v 1.23 1998/07/06 22:04:58 roberto Exp roberto $ ** Lexical Analizer ** See Copyright Notice in lua.h */ @@ -59,7 +59,7 @@ void luaX_error (LexState *ls, char *s) { } -void luaX_token2str (LexState *ls, int token, char *s) { +void luaX_token2str (int token, char *s) { if (token < 255) { s[0] = token; s[1] = 0; -- cgit v1.2.3-55-g6feb