From 94a7b13a312b6aee0a8978a414772f16123be791 Mon Sep 17 00:00:00 2001 From: bernhardheld Date: Thu, 24 Nov 2005 15:46:45 +0000 Subject: [PATCH] I was too fast: this breaks regression test bug-221220.c git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3980 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/SDCCsymt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SDCCsymt.c b/src/SDCCsymt.c index 7d10d227..de557529 100644 --- a/src/SDCCsymt.c +++ b/src/SDCCsymt.c @@ -1644,6 +1644,7 @@ copyLinkChain (sym_link * p) while (curr) { memcpy (loop, curr, sizeof (sym_link)); /* copy it */ +if (getenv ("SDCCCOPYSTRUCT")) // this breaks regression test bug-221220?? if (IS_STRUCT (loop)) SPEC_STRUCT (loop) = copyStruct (SPEC_STRUCT (loop)); loop->next = (curr->next ? newLink (curr->next->class) : (void *) NULL); -- 2.30.2