Remove unnecessary cases from wordToPseudoGlob
This commit is contained in:
parent
322842b57e
commit
0f9b0f18a4
|
@ -427,15 +427,8 @@ wordToPseudoGlob word =
|
||||||
T_Literal _ s -> map PGChar s
|
T_Literal _ s -> map PGChar s
|
||||||
T_SingleQuoted _ 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 _ ('[':_) -> [PGAny]
|
T_Glob _ ('[':_) -> [PGAny]
|
||||||
T_Glob {} -> [PGMany]
|
|
||||||
|
|
||||||
T_Extglob {} -> [PGMany]
|
|
||||||
|
|
||||||
_ -> [PGMany]
|
_ -> [PGMany]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue