diff --git a/src/ShellCheck/Parser.hs b/src/ShellCheck/Parser.hs index 0488b00..a608403 100644 --- a/src/ShellCheck/Parser.hs +++ b/src/ShellCheck/Parser.hs @@ -1097,6 +1097,7 @@ readSingleQuoted = called "single quoted string" $ do when ('\n' `elem` string && not ("\n" `isPrefixOf` string)) $ suggestForgotClosingQuote startPos endPos "single quoted string" + endPosOfStartId id return (T_SingleQuoted id string) readSingleQuotedLiteral = do