mirror of
https://github.com/dlang-community/D-Scanner.git
synced 2025-04-26 13:20:07 +03:00
fix compilation on old compilers
This commit is contained in:
parent
42033dcc55
commit
8612841365
1 changed files with 3 additions and 3 deletions
|
@ -750,9 +750,9 @@ private BaseAnalyzer[] getAnalyzersForModuleAndConfig(string fileName,
|
||||||
moduleName = m.moduleDeclaration.moduleName.identifiers.map!(e => e.text).join(".");
|
moduleName = m.moduleDeclaration.moduleName.identifiers.map!(e => e.text).join(".");
|
||||||
|
|
||||||
BaseAnalyzerArguments args = BaseAnalyzerArguments(
|
BaseAnalyzerArguments args = BaseAnalyzerArguments(
|
||||||
fileName: fileName,
|
fileName,
|
||||||
tokens: tokens,
|
tokens,
|
||||||
sc: moduleScope
|
moduleScope
|
||||||
);
|
);
|
||||||
|
|
||||||
if (moduleName.shouldRun!AsmStyleCheck(analysisConfig))
|
if (moduleName.shouldRun!AsmStyleCheck(analysisConfig))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue