diff --git a/docs/native.wasm b/docs/native.wasm index 2f0b1c3..d31bbfd 100644 Binary files a/docs/native.wasm and b/docs/native.wasm differ diff --git a/peglib.h b/peglib.h index e2e85ec..20b546a 100644 --- a/peglib.h +++ b/peglib.h @@ -901,7 +901,6 @@ public: count++; } - auto save_error_pos = c.error_pos; while (n - i > 0 && count < max_) { c.push_capture_scope(); auto se = scope_exit([&]() { c.pop_capture_scope(); }); @@ -921,7 +920,6 @@ public: vs.tokens.erase(vs.tokens.begin() + static_cast(save_tok_size)); } - c.error_pos = save_error_pos; break; } i += len;