Fix 0 char handling when encoding
The 0 char was encoded as just 0 (as the left->ch == 0 when it is a branch). Fix is to first compare right index, and if it doesn't match then use last left.
Showing
with
20 additions
and
8 deletions
Please
register
or
sign in
to comment