# stage2: fix bug where a parser error would break errors · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/0f105ea3249068441a94c0e783b3ca27a06a783b)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 0f105ea3249068441a94c0e783b3ca27a06a783b

Requested commit: 0f105ea3249068441a94c0e783b3ca27a06a783b

Commit: 0f105ea3249068441a94c0e783b3ca27a06a783b

Tree: ff7d8a7ae182e7c6c62ddaf93843f7d19eb20d75

Author: jacob gw

Committer: Andrew Kelley

## Message

```
stage2: fix bug where a parser error would break errors

A parser error would deinit the tree, but the tree is needed for the
node locations. This removes the offending code written before node
locations.

```

## Parents

- [99ec511c4c62d22c88a57395e169948140c5b712](https://git.cafe/gitcafe/zig/commit/99ec511c4c62d22c88a57395e169948140c5b712?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/0f105ea3249068441a94c0e783b3ca27a06a783b?format=markdown)
