diff --git a/ShellCheck/Parser.hs b/ShellCheck/Parser.hs index 3dea149..3120174 100644 --- a/ShellCheck/Parser.hs +++ b/ShellCheck/Parser.hs @@ -1339,7 +1339,7 @@ readSingleEscaped = do x <- lookAhead anyChar case x of - '\'' -> parseProblemAt pos InfoC 1003 "Want to escape a single quote? echo 'This is how it'\''s done'."; + '\'' -> parseProblemAt pos InfoC 1003 "Want to escape a single quote? echo 'This is how it'\\''s done'."; '\n' -> parseProblemAt pos InfoC 1004 "This backslash+linefeed is literal. Break outside single quotes if you just want to break the line." _ -> return ()