mirror of
https://github.com/cc65/cc65.git
synced 2025-04-04 21:33:30 +00:00
Fix for "auto" variables made "static" with the "-Cl" options.
This commit is contained in:
parent
71c2d27705
commit
78342fa82c
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user