PomeloException,add function in lexer