aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/dmd/expressionsem.c
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2020-03-17 19:33:14 +0100
committerIain Buclaw <ibuclaw@gdcproject.org>2020-03-19 18:34:52 +0100
commit37482edc3f7f19110da7178d0d4c3003ea5272f3 (patch)
tree4315c56858f31991be0342d1964b064eecdddd80 /gcc/d/dmd/expressionsem.c
parentf22712bd8a2ed57d3cc7e6fa92730bd5852e27b3 (diff)
downloadgcc-37482edc3f7f19110da7178d0d4c3003ea5272f3.zip
gcc-37482edc3f7f19110da7178d0d4c3003ea5272f3.tar.gz
gcc-37482edc3f7f19110da7178d0d4c3003ea5272f3.tar.bz2
d/dmd: Merge upstream dmd d1a606599
Fixes long standing regression in the D front-end implemention, and adds a new field to allow retrieving a list of all content imports from the code generator. Reviewed-on: https://github.com/dlang/dmd/pull/10913 https://github.com/dlang/dmd/pull/10933
Diffstat (limited to 'gcc/d/dmd/expressionsem.c')
-rw-r--r--gcc/d/dmd/expressionsem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/d/dmd/expressionsem.c b/gcc/d/dmd/expressionsem.c
index 781bd3e..fed36cf 100644
--- a/gcc/d/dmd/expressionsem.c
+++ b/gcc/d/dmd/expressionsem.c
@@ -2370,6 +2370,7 @@ public:
return setError();
}
+ sc->_module->contentImportedFiles.push(name);
if (global.params.verbose)
message("file %.*s\t(%s)", (int)se->len, (char *)se->string, name);
if (global.params.moduleDeps != NULL)