Remove unnecessary cases from wordToPseudoGlob

This commit is contained in:
Joseph C. Sible 2020-04-05 19:30:21 -04:00
parent 322842b57e
commit 0f9b0f18a4
1 changed files with 0 additions and 7 deletions

View File

@ -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]