Extern variables can now be written to.
This commit is contained in:
parent
73922f1d16
commit
77fc62285d
|
@ -119,7 +119,7 @@ lvalexp(struct tnode *tr)
|
||||||
} else { /* NAME */
|
} else { /* NAME */
|
||||||
bs = (struct hshtab *) tr->tr1->tr1;
|
bs = (struct hshtab *) tr->tr1->tr1;
|
||||||
if (bs->class == EXTERN) {
|
if (bs->class == EXTERN) {
|
||||||
C_ste_dnam(bs->name, 0);
|
C_ste_dnam(manglename(bs->name, 'b'), 0);
|
||||||
} else if (bs->class == AUTO) {
|
} else if (bs->class == AUTO) {
|
||||||
C_stl(bs->offset);
|
C_stl(bs->offset);
|
||||||
} else
|
} else
|
||||||
|
|
Loading…
Reference in a new issue