From 0f9b0f18a435cafc7cb30451c85ee6efbef029ec Mon Sep 17 00:00:00 2001 From: "Joseph C. Sible" Date: Sun, 5 Apr 2020 19:30:21 -0400 Subject: [PATCH] Remove unnecessary cases from wordToPseudoGlob --- src/ShellCheck/ASTLib.hs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/ShellCheck/ASTLib.hs b/src/ShellCheck/ASTLib.hs index 758d79c..da91d09 100644 --- a/src/ShellCheck/ASTLib.hs +++ b/src/ShellCheck/ASTLib.hs @@ -427,15 +427,8 @@ wordToPseudoGlob word = T_Literal _ s -> map PGChar s T_SingleQuoted _ s -> map PGChar s - T_DollarBraced {} -> [PGMany] - T_DollarExpansion {} -> [PGMany] - T_Backticked {} -> [PGMany] - T_Glob _ "?" -> [PGAny] T_Glob _ ('[':_) -> [PGAny] - T_Glob {} -> [PGMany] - - T_Extglob {} -> [PGMany] _ -> [PGMany]