diff options
| author | Laytan Laats <laytanlaats@hotmail.com> | 2023-11-12 01:53:14 +0100 |
|---|---|---|
| committer | Laytan Laats <laytanlaats@hotmail.com> | 2023-11-12 01:53:14 +0100 |
| commit | bd190815436f77558740afce2df2eac74da660df (patch) | |
| tree | 1e938faaa3f54ef1288b1bc38e40ffab2b119276 /src/checker.cpp | |
| parent | 70c1f9d0e19a4b97c03308de8f2b9c0c28ba4cf1 (diff) | |
fix nil exceptions with incomplete code parse
This makes the parser more fault tolerant because the different
parse_foo procs return nil when in an invalid state, which is fine most
of the time but when creating a node it would crash accessing its
position.
Diffstat (limited to 'src/checker.cpp')
0 files changed, 0 insertions, 0 deletions