diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-12-27 15:33:22 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-12-27 15:33:22 -0200 |
commit | acdb0b741e31adebfa4f608f8bf23e65fa68d741 (patch) | |
tree | a4f3bb695c4b2ae03ef8e02d15953bc12de25a9d /llex.h | |
parent | 5b08fcd5a1392a7440cae91e68f350a44b136806 (diff) | |
download | lua-acdb0b741e31adebfa4f608f8bf23e65fa68d741.tar.gz lua-acdb0b741e31adebfa4f608f8bf23e65fa68d741.tar.bz2 lua-acdb0b741e31adebfa4f608f8bf23e65fa68d741.zip |
comments.
Diffstat (limited to 'llex.h')
-rw-r--r-- | llex.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: llex.h,v 1.14 1999/08/16 20:52:00 roberto Exp roberto $ | 2 | ** $Id: llex.h,v 1.15 1999/11/22 13:12: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 | */ |
@@ -13,7 +13,7 @@ | |||
13 | 13 | ||
14 | #define FIRST_RESERVED 260 | 14 | #define FIRST_RESERVED 260 |
15 | 15 | ||
16 | /* maximum length of a reserved word (+1 for terminal 0) */ | 16 | /* maximum length of a reserved word (+1 for final 0) */ |
17 | #define TOKEN_LEN 15 | 17 | #define TOKEN_LEN 15 |
18 | 18 | ||
19 | 19 | ||
@@ -34,7 +34,7 @@ enum RESERVED { | |||
34 | #define MAX_IFS 5 /* arbitrary limit */ | 34 | #define MAX_IFS 5 /* arbitrary limit */ |
35 | #endif | 35 | #endif |
36 | 36 | ||
37 | /* "ifstate" keeps the state of each nested $if the lexical is dealing with. */ | 37 | /* `ifState' keeps the state of each nested $if the lexical is dealing with. */ |
38 | 38 | ||
39 | struct ifState { | 39 | struct ifState { |
40 | int elsepart; /* true if it's in the $else part */ | 40 | int elsepart; /* true if it's in the $else part */ |
@@ -46,7 +46,7 @@ struct ifState { | |||
46 | typedef struct LexState { | 46 | typedef struct LexState { |
47 | int current; /* look ahead character */ | 47 | int current; /* look ahead character */ |
48 | int token; /* look ahead token */ | 48 | int token; /* look ahead token */ |
49 | struct FuncState *fs; /* 'FuncState' is private for the parser */ | 49 | struct FuncState *fs; /* `FuncState' is private for the parser */ |
50 | struct lua_State *L; | 50 | struct lua_State *L; |
51 | union { | 51 | union { |
52 | real r; | 52 | real r; |