Fix parsing empty scalars. (Fixes #4)