Fix botched variable usage

This commit is contained in:
Vidar Holen 2019-07-01 23:47:13 -07:00
parent 9e6b07dbba
commit ef764b60ca
1 changed files with 1 additions and 1 deletions

View File

@ -686,7 +686,7 @@ getModifiedVariableCommand base@(T_SimpleCommand _ _ (T_NormalWord _ (T_Literal
-- get the FLAGS_ variable created by a shflags DEFINE_ call
getFlagVariable (n:v:_) = do
name <- getLiteralString v
name <- getLiteralString n
return (base, n, "FLAGS_" ++ name, DataString $ SourceExternal)
getFlagVariable _ = Nothing