aboutsummaryrefslogtreecommitdiff
path: root/include/lexer.h
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-06-12 17:31:01 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2025-06-12 17:31:01 +0530
commitb5ce444caac703dcfab761b62edf77a3e8fbd418 (patch)
tree91405855822743f9a2838d78799691224ec7409a /include/lexer.h
parent91841cc629e1815543229c1de5f52105b96f92a0 (diff)
lexer: add error
Diffstat (limited to 'include/lexer.h')
-rw-r--r--include/lexer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/lexer.h b/include/lexer.h
index c8cd1a3..6d182c3 100644
--- a/include/lexer.h
+++ b/include/lexer.h
@@ -15,6 +15,7 @@ private:
size_t m_current;
size_t m_end;
size_t m_line;
+ bool m_errored;
private:
bool at_end(void);