Fix parsing of literal scalars.

Related to issue #108