diff --git a/dmd2/module.c b/dmd2/module.c index 98a6f7bf..77b8aea0 100644 --- a/dmd2/module.c +++ b/dmd2/module.c @@ -750,7 +750,9 @@ void Module::parse() { comment = buf + 4; isDocFile = 1; -#if IN_DMD +#if IN_LLVM + doDocComment = true; +#else if (!docfile) setDocfile(); #endif