PARSER, CORE: add type information to literals.