Token type should not be incorrectly set to literal