1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00

Use the space atom.

This commit is contained in:
Rob Rix 2015-12-14 16:33:02 -05:00
parent 36e495f918
commit 645ae0b6de

View File

@ -21,7 +21,7 @@ rangesAndWordsFrom startIndex string =
case takeAndContinue <$> (word <|> punctuation) of
Just a -> a
Nothing ->
case parse Char.isSpace string of
case space of
Just parsed -> skipAndContinue parsed
Nothing -> []
where