1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 23:29:39 +00:00

Fix for "auto" variables made "static" with the "-Cl" options.

This commit is contained in:
acqn 2020-07-20 20:40:41 +08:00 committed by Oliver Schmidt
parent 71c2d27705
commit 78342fa82c

View File

@ -340,7 +340,7 @@ static void ParseAutoDecl (Declaration* Decl)
LoadExpr (CF_NONE, &Expr);
/* 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 */