Open
Description
Describe the bug:
When a line is commented with #
, if the line ends with a \
it will cause a nil pointer dereference.
Expected behaviour:
Nothing in the comment should affect execution.
Screenshots:
Platform (please complete the following information):
- OS, output from
uname -a
if supported: 6.12.10-arch1-1 - Terminal Emulator: kitty 0.39.0
- Murex version, output from
version --no-app-name
: 6.4.2063 (develop)
Additional context
tree.statement is nil in parse_comment.go in its invocation here
case '\\':
next := tree.nextChar()
if next == '\r' || next == '\n' {
tree.statement.ignoreCrLf = true
}
}