Fixed infinite loop upon the lexer finding nothing valid