mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 09:31:04 +01:00
The expected parse tree size is validated for valid parse trees, which is possible even if lex encounters an error. In that case, we were missing recovery tokens, resulting in a crash. AddToken should be the only place we call `token_infos_.push_back`.
Toolchain
A design is currently maintained in Google Drive. It'll be migrated to markdown once we are confident in its stability.