Fix for "auto" variables made "static" with the "-Cl" options.
This commit is contained in:
@@ -340,7 +340,7 @@ static void ParseAutoDecl (Declaration* Decl)
|
|||||||
LoadExpr (CF_NONE, &Expr);
|
LoadExpr (CF_NONE, &Expr);
|
||||||
|
|
||||||
/* Store the value into the variable */
|
/* Store the value into the variable */
|
||||||
g_putstatic (TypeOf (Sym->Type), DataLabel, 0);
|
g_putstatic (CF_STATIC | TypeOf (Sym->Type), DataLabel, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Mark the variable as referenced */
|
/* Mark the variable as referenced */
|
||||||
|
|||||||
Reference in New Issue
Block a user