Fix missing backslash in SC1003 about '\''

This commit is contained in:
Vidar Holen 2017-04-01 22:01:05 -07:00
parent 36573b5b26
commit 66c7cf19e2
1 changed files with 1 additions and 1 deletions

View File

@ -1339,7 +1339,7 @@ readSingleEscaped = do
x <- lookAhead anyChar x <- lookAhead anyChar
case x of 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." '\n' -> parseProblemAt pos InfoC 1004 "This backslash+linefeed is literal. Break outside single quotes if you just want to break the line."
_ -> return () _ -> return ()