update charToDigit to take advantage of switch syntax

1826a96160Andrew Kelley committed on 1/23/2017, 6:19:03 AMparent0b34439
1 file changedLine totals unavailable