diff options
-rw-r--r-- | parse/gram.y | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/parse/gram.y b/parse/gram.y index 9fdfbf3..77d9f44 100644 --- a/parse/gram.y +++ b/parse/gram.y @@ -1176,9 +1176,12 @@ mkpseudodecl(Srcloc l, Type *t) { static int nextpseudoid; char buf[128]; + Node *d; bprintf(buf, 128, ".pdecl%d", nextpseudoid++); - return mkdecl(l, mkname(l, buf), t); + d = mkdecl(l, mkname(l, buf), t); + d->decl.env = NULL; + return d; } static void |