mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-08 00:44:00 +08:00
Continue on parse errors in backticks (fixes #1475)
This commit is contained in:
@@ -1200,7 +1200,7 @@ readBackTicked quoted = called "backtick expansion" $ do
|
||||
suggestForgotClosingQuote startPos endPos "backtick expansion"
|
||||
|
||||
-- Result positions may be off due to escapes
|
||||
result <- subParse subStart subParser (unEscape subString)
|
||||
result <- subParse subStart (tryWithErrors subParser <|> return []) (unEscape subString)
|
||||
return $ T_Backticked id result
|
||||
where
|
||||
unEscape [] = []
|
||||
|
Reference in New Issue
Block a user