output lexerror message into stderr instead of stdout

Reported-by: Yichun Zhang <agentzh@gmail.com>
Signed-off-by: Jovi Zhangwei <jovi.zhangwei@gmail.com>