diff options
Diffstat (limited to 'lex.h')
-rw-r--r-- | lex.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,16 +1,15 @@ | |||
1 | /* | 1 | /* |
2 | ** lex.h | 2 | ** lex.h |
3 | ** TecCGraf - PUC-Rio | 3 | ** TecCGraf - PUC-Rio |
4 | ** $Id: lex.h,v 1.2 1996/02/14 13:35:51 roberto Exp roberto $ | 4 | ** $Id: lex.h,v 1.3 1996/11/08 12:49:35 roberto Exp roberto $ |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #ifndef lex_h | 7 | #ifndef lex_h |
8 | #define lex_h | 8 | #define lex_h |
9 | 9 | ||
10 | #include "zio.h" | ||
10 | 11 | ||
11 | typedef int (*Input) (void); | 12 | void lua_setinput (ZIO *z); |
12 | |||
13 | void lua_setinput (Input fn); | ||
14 | void luaI_syntaxerror (char *s); | 13 | void luaI_syntaxerror (char *s); |
15 | int luaY_lex (void); | 14 | int luaY_lex (void); |
16 | void luaI_addReserved (void); | 15 | void luaI_addReserved (void); |