From 8ff35fb4af895353ed035be8304beca067a9b2af Mon Sep 17 00:00:00 2001 From: Ng Zhi An Date: Thu, 7 Jun 2018 23:09:59 -0700 Subject: [PATCH] Add end pos to readSingleQuoted --- src/ShellCheck/Parser.hs | 1 + 1 file changed, 1 insertion(+) 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