[cvs-nhc98] patch applied (hat): When lexing, use a perfect hash function to recognise language