diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-11-02 19:34:01 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-11-02 19:43:03 +0100 |
commit | f23fb27f949f28517bef5206a5773f08d8202ea8 (patch) | |
tree | be36a6286b02eeda9f07dfb47b3d768118100117 /lexer.h | |
parent | 5fb260f1fcd302cb529bec52520345c77bbbadf8 (diff) |
ast: avoid null pointer deref in ut_new_exception()
When reporting parse errors, we might not have a function context so avoid
dereferencing it without checking.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'lexer.h')
0 files changed, 0 insertions, 0 deletions