mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-08 20:20:03 +08:00
Add end pos to readSingleQuoted
This commit is contained in:
@@ -1097,6 +1097,7 @@ readSingleQuoted = called "single quoted string" $ do
|
|||||||
when ('\n' `elem` string && not ("\n" `isPrefixOf` string)) $
|
when ('\n' `elem` string && not ("\n" `isPrefixOf` string)) $
|
||||||
suggestForgotClosingQuote startPos endPos "single quoted string"
|
suggestForgotClosingQuote startPos endPos "single quoted string"
|
||||||
|
|
||||||
|
endPosOfStartId id
|
||||||
return (T_SingleQuoted id string)
|
return (T_SingleQuoted id string)
|
||||||
|
|
||||||
readSingleQuotedLiteral = do
|
readSingleQuotedLiteral = do
|
||||||
|
Reference in New Issue
Block a user