8 #define IDENT_HASH_SIZE 64
11 struct ident
*hash_prev
;
24 struct ident
*ident_hashtab
[IDENT_HASH_SIZE
];
27 void lex_create(struct lexer
*lex
);
28 void lex_delete(struct lexer
*lex
);
29 void lex_next(struct lexer
*lex
);
30 char *lex_get_tok_str(struct lexer
*lex
, tok_t tok
, char *tok_str
);
31 void lex_start(struct lexer
*lex
);
32 bool lex_is_ident(struct lexer
*lex
, tok_t tok
);
38 #define DEF(x) TOK_ ## x,
44 TOK_FIRST_PUNCT
= 0x100,
45 #define PUNCT(x, str) TOK_ ## x,