make the parser emit type info