[cvs-nhc98] patch applied (yhc): Make read a bit simpler, by not introducing a dependency on lex