aboutsummaryrefslogtreecommitdiff
path: root/llex.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-04-25 16:24:10 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-04-25 16:24:10 -0300
commit8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc (patch)
tree4ad0b914b84005b706fb6c9af302132d789b133a /llex.h
parent8c3c3e769195facf6b8c061f4fab1d86e6606be8 (diff)
downloadlua-8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc.tar.gz
lua-8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc.tar.bz2
lua-8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc.zip
added LUAI_FUNC to functions not in the API
Diffstat (limited to 'llex.h')
-rw-r--r--llex.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/llex.h b/llex.h
index 25582643..835a6879 100644
--- a/llex.h
+++ b/llex.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llex.h,v 1.52 2004/12/03 20:54:12 roberto Exp roberto $ 2** $Id: llex.h,v 1.53 2005/04/07 13:09:07 roberto Exp roberto $
3** Lexical Analyzer 3** Lexical Analyzer
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -66,13 +66,14 @@ typedef struct LexState {
66} LexState; 66} LexState;
67 67
68 68
69void luaX_init (lua_State *L); 69LUAI_FUNC void luaX_init (lua_State *L);
70void luaX_setinput (lua_State *L, LexState *LS, ZIO *z, TString *source); 70LUAI_FUNC void luaX_setinput (lua_State *L, LexState *LS, ZIO *z,
71TString *luaX_newstring (LexState *LS, const char *str, size_t l); 71 TString *source);
72int luaX_lex (LexState *LS, SemInfo *seminfo); 72LUAI_FUNC TString *luaX_newstring (LexState *LS, const char *str, size_t l);
73void luaX_lexerror (LexState *ls, const char *msg, int token); 73LUAI_FUNC int luaX_lex (LexState *LS, SemInfo *seminfo);
74void luaX_syntaxerror (LexState *ls, const char *s); 74LUAI_FUNC void luaX_lexerror (LexState *ls, const char *msg, int token);
75const char *luaX_token2str (LexState *ls, int token); 75LUAI_FUNC void luaX_syntaxerror (LexState *ls, const char *s);
76LUAI_FUNC const char *luaX_token2str (LexState *ls, int token);
76 77
77 78
78#endif 79#endif