parser/current: reduce duplication.