Added extglobs as splitting words

This commit is contained in:
Vidar Holen 2012-11-27 00:32:00 -08:00
parent 131b9f0517
commit 0ca6d0f6cc
1 changed files with 1 additions and 0 deletions

View File

@ -78,6 +78,7 @@ willSplit x =
T_DollarBraced _ _ -> True T_DollarBraced _ _ -> True
T_DollarExpansion _ _ -> True T_DollarExpansion _ _ -> True
T_BraceExpansion _ s -> True T_BraceExpansion _ s -> True
T_Extglob _ _ _ -> True
T_NormalWord _ l -> any willSplit l T_NormalWord _ l -> any willSplit l
T_Literal _ s -> isGlob s T_Literal _ s -> isGlob s
_ -> False _ -> False