Properly flag whether a command was processed and interpreted

This commit is contained in:
Pragmatic Software 2017-12-09 13:26:20 -08:00
parent f24c26d2ef
commit 1d2d057d45
1 changed files with 2 additions and 1 deletions

View File

@ -189,7 +189,8 @@ sub process_line {
$stuff->{preserve_whitespace} = $preserve_whitespace; $stuff->{preserve_whitespace} = $preserve_whitespace;
$stuff->{result} = $self->interpret($stuff); $stuff->{result} = $self->interpret($stuff);
$processed++ if $self->handle_result($stuff); $self->handle_result($stuff);
$processed++;
} }
return $processed; return $processed;
} }