Skip to content

Commit 192bbae

Browse files
committed
Fix #1158
1 parent 4aa0ce8 commit 192bbae

File tree

1 file changed

+1
-1
lines changed
  • plugins/hls-eval-plugin/src/Ide/Plugin/Eval/Parse

1 file changed

+1
-1
lines changed

plugins/hls-eval-plugin/src/Ide/Plugin/Eval/Parse/Token.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ contentOf _ = Nothing
9595
9696
-}
9797
tokensFrom :: String -> [Loc (Token String)]
98-
tokensFrom = tokens . lines
98+
tokensFrom = tokens . lines . filter (/= '\r')
9999

100100
{- |
101101
>>> tokens ["-- |$setup >>> 4+7","x=11"]

0 commit comments

Comments
 (0)