Fixed bug in lexer