[cvs-nhc98] patch applied (hat): When generating the .hx file, add top-level pattern-bindings into the