core: state: Keep track of current pass
Signed-off-by: Chloe M. <chloe@mirocom.org>
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
* @tokbuf: Token buffer
|
||||
* @ptrbox: Global pointer box
|
||||
* @lex_putback: Lexer putback buffer
|
||||
* @pass: Current pass
|
||||
*/
|
||||
struct cescal_state {
|
||||
int in_fd;
|
||||
@@ -26,6 +27,7 @@ struct cescal_state {
|
||||
struct tokbuf tokbuf;
|
||||
struct ptrbox ptrbox;
|
||||
char lex_putback;
|
||||
uint8_t pass;
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user