From dea6b6da9422f34ad91c8f6ad9ad3ed650e95713 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 7 May 2002 14:36:56 -0300 Subject: new function `lua_vpushstr' to replace uses of `sprintf' --- llex.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'llex.h') diff --git a/llex.h b/llex.h index 67edd491..ed53e2a3 100644 --- a/llex.h +++ b/llex.h @@ -1,5 +1,5 @@ /* -** $Id: llex.h,v 1.1 2001/11/29 22:14:34 rieru Exp rieru $ +** $Id: llex.h,v 1.42 2002/02/08 22:42:41 roberto Exp roberto $ ** Lexical Analyzer ** See Copyright Notice in lua.h */ @@ -65,8 +65,8 @@ void luaX_init (lua_State *L); void luaX_setinput (lua_State *L, LexState *LS, ZIO *z, TString *source); int luaX_lex (LexState *LS, SemInfo *seminfo); void luaX_checklimit (LexState *ls, int val, int limit, const char *msg); -void luaX_error (LexState *ls, const char *s, int token); -void luaX_token2str (int token, char *s); +void luaX_syntaxerror (LexState *ls, const char *s); +const char *luaX_token2str (LexState *ls, int token); #endif -- cgit v1.2.1