summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChloe M. <chloe@mirocom.org>2026-05-23 11:09:12 +0000
committerChloe M. <chloe@mirocom.org>2026-05-23 11:09:12 +0000
commit596e63e468b9aa56683b5f2ea31296cb808552b8 (patch)
tree2acfc020b5302e9f9fc6425062768cbcb67a475d /include
parentf05a24df12b18c023f9df7349cf84debc6fc4e29 (diff)
core: state: Keep track of current pass
Signed-off-by: Chloe M. <chloe@mirocom.org>
Diffstat (limited to 'include')
-rw-r--r--include/cescal/state.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cescal/state.h b/include/cescal/state.h
index 3c1ad86..8801837 100644
--- a/include/cescal/state.h
+++ b/include/cescal/state.h
@@ -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;
};
/*