Lexer: fixed bug with files ending with Integer or Identifier