add scanString to lexer