From 3b4ae0face33b8a1f55a4e78eaf93311333fca80 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Fri, 28 Nov 2025 19:32:56 -0500 Subject: [PATCH] xo-interpreter: apply expressions + llvm builtins working! --- include/xo/tokenizer/input_state.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/xo/tokenizer/input_state.hpp b/include/xo/tokenizer/input_state.hpp index 0cea1155..fbff7e57 100644 --- a/include/xo/tokenizer/input_state.hpp +++ b/include/xo/tokenizer/input_state.hpp @@ -247,7 +247,7 @@ namespace xo { input_state::advance_until(const CharT * pos) { scope log(XO_DEBUG(debug_flag_)); - assert(current_line_.lo() <= pos && pos < current_line_.hi()); + assert(current_line_.lo() <= pos && pos <= current_line_.hi()); this->current_pos_ = pos - current_line_.lo();