Redo pull #516 without compiler errors (dietStringParser signature improvement).

Fixes #516.