Remove unnecessary lookahead in readDollarLonely

This commit is contained in:
Vidar Holen 2019-06-30 17:28:15 -07:00
parent eeb7ea01c9
commit c381c5746f
1 changed files with 0 additions and 1 deletions

View File

@ -1698,7 +1698,6 @@ readDollarLonely = do
start <- startSpan
char '$'
id <- endSpan start
n <- lookAhead (anyChar <|> (eof >> return '_'))
return $ T_Literal id "$"
prop_readHereDoc = isOk readScript "cat << foo\nlol\ncow\nfoo"