Fixed quoting warnings for variables in $".."

This commit is contained in:
Vidar Holen 2014-09-23 10:18:28 -07:00
parent 9e8a11e57c
commit 38ead0385b
1 changed files with 1 additions and 0 deletions

View File

@ -1337,6 +1337,7 @@ isQuoteFree tree t =
-- Not true, just a hack to prevent warning about non-expansion refs
any (isCommand t) ["local", "declare", "typeset", "export", "trap"]
T_DoubleQuoted _ _ -> return True
T_DollarDoubleQuoted _ _ -> return True
T_CaseExpression {} -> return True
T_HereDoc {} -> return True
T_DollarBraced {} -> return True