added a parameter of lpu_inputstream in lexer constructor