[cvs-nhc98] patch applied (hat): Fix a bug in translating (n+k) patterns to code.