diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-02-14 10:35:51 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-02-14 10:35:51 -0300 |
commit | d1608c597e2f45021d43c56050aff08e5d417699 (patch) | |
tree | e6b0a07e68384cd9707e7dda6864dd8664e2ee99 /lex.h | |
parent | 0f4903a5d79fb594115c5603072d0dce77b2b84e (diff) | |
download | lua-d1608c597e2f45021d43c56050aff08e5d417699.tar.gz lua-d1608c597e2f45021d43c56050aff08e5d417699.tar.bz2 lua-d1608c597e2f45021d43c56050aff08e5d417699.zip |
reserved words are stored in main string table; "marked" field is
used to indicate its type.
Table initializations centralized by "tree.c".
Diffstat (limited to 'lex.h')
-rw-r--r-- | lex.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | ** lex.h | 2 | ** lex.h |
3 | ** TecCGraf - PUC-Rio | 3 | ** TecCGraf - PUC-Rio |
4 | ** $Id: $ | 4 | ** $Id: lex.h,v 1.1 1996/02/13 17:30:39 roberto Exp roberto $ |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #ifndef lex_h | 7 | #ifndef lex_h |
@@ -10,9 +10,10 @@ | |||
10 | 10 | ||
11 | typedef int (*Input) (void); | 11 | typedef int (*Input) (void); |
12 | 12 | ||
13 | void lua_setinput (Input fn); /* from "lex.c" module */ | 13 | void lua_setinput (Input fn); |
14 | char *lua_lasttext (void); /* from "lex.c" module */ | 14 | char *lua_lasttext (void); |
15 | int luaY_lex (void); /* from "lex.c" module */ | 15 | int luaY_lex (void); |
16 | void luaI_addReserved (void); | ||
16 | 17 | ||
17 | 18 | ||
18 | #endif | 19 | #endif |