aboutsummaryrefslogtreecommitdiff
path: root/src/checker.cpp
diff options
context:
space:
mode:
authorLaytan Laats <laytanlaats@hotmail.com>2023-11-12 01:53:14 +0100
committerLaytan Laats <laytanlaats@hotmail.com>2023-11-12 01:53:14 +0100
commitbd190815436f77558740afce2df2eac74da660df (patch)
tree1e938faaa3f54ef1288b1bc38e40ffab2b119276 /src/checker.cpp
parent70c1f9d0e19a4b97c03308de8f2b9c0c28ba4cf1 (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