diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-09-15 19:48:53 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-09-15 19:48:53 -0700 |
commit | 06584c523ae1362d59c9c9285deaa48c13c4d123 (patch) | |
tree | 756b37ddf6cdb9c7fce4bd9c875692334b9038e0 /038scheduler.cc | |
parent | dbf64731bc5313e2ceed16990680468ce977e3f2 (diff) | |
download | mu-06584c523ae1362d59c9c9285deaa48c13c4d123.tar.gz |
2202 - don't let editor die on syntax errors
Bugfix to 2186. I hadn't taken care of 'reload' as cleanly as I had 'run-interactive'.
Diffstat (limited to '038scheduler.cc')
-rw-r--r-- | 038scheduler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/038scheduler.cc b/038scheduler.cc index 9bda9de9..2e0e0322 100644 --- a/038scheduler.cc +++ b/038scheduler.cc @@ -275,7 +275,7 @@ recipe f2 [ -warn: f2: divide by zero in '4:number <- divide-with-remainder 4, 0' :(after "operator<<(ostream& os, unused end)") - if (Trace_stream->curr_layer == "warn" && Current_routine) { + if (Trace_stream && Trace_stream->curr_layer == "warn" && Current_routine) { Current_routine->state = COMPLETED; } |