mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-13 09:22:22 -07:00
d913155972
When asserts are disabled, code within the assert isn't run. Having expect_token within an assert means that the state of the Parser is mutated when asserts are run, but not when they aren't. There's already a wrapper procedure for this pattern, which I have reused here.