mirror of
https://github.com/dlang-community/D-Scanner.git
synced 2025-04-26 21:30:14 +03:00
Update dmd to ef02f08456762548555b1476a6e32c6e6af6320c (#146)
This commit is contained in:
parent
1294a768d7
commit
8f85263c3c
6 changed files with 9 additions and 60 deletions
27
build.bat
27
build.bat
|
@ -58,6 +58,8 @@ set DMD_FRONTEND_DENYLIST=^
|
|||
set DMD_FRONTEND_SRC=
|
||||
for %%x in (dmd\compiler\src\dmd\common\*.d) do set DMD_FRONTEND_SRC=!DMD_FRONTEND_SRC! %%x
|
||||
for %%x in (dmd\compiler\src\dmd\root\*.d) do set DMD_FRONTEND_SRC=!DMD_FRONTEND_SRC! %%x
|
||||
for %%x in (dmd\compiler\src\dmd\visitor\*.d) do set DMD_FRONTEND_SRC=!DMD_FRONTEND_SRC! %%x
|
||||
for %%x in (dmd\compiler\src\dmd\mangle\*.d) do set DMD_FRONTEND_SRC=!DMD_FRONTEND_SRC! %%x
|
||||
for %%x in (dmd\compiler\src\dmd\*.d) do (
|
||||
echo "%DMD_FRONTEND_DENYLIST%" | findstr /i /c:"%%x" >nul
|
||||
if errorlevel 1 (
|
||||
|
@ -65,31 +67,6 @@ for %%x in (dmd\compiler\src\dmd\*.d) do (
|
|||
)
|
||||
)
|
||||
|
||||
set DMD_ROOT_SRC=
|
||||
for %%x in (dmd\compiler\src\dmd\common\*.d) do set DMD_ROOT_SRC=!DMD_ROOT_SRC! %%x
|
||||
for %%x in (dmd\compiler\src\dmd\root\*.d) do set DMD_ROOT_SRC=!DMD_ROOT_SRC! %%x
|
||||
|
||||
set DMD_LEXER_SRC=^
|
||||
dmd\compiler\src\dmd\console.d ^
|
||||
dmd\compiler\src\dmd\entity.d ^
|
||||
dmd\compiler\src\dmd\errors.d ^
|
||||
dmd\compiler\src\dmd\file_manager.d ^
|
||||
dmd\compiler\src\dmd\globals.d ^
|
||||
dmd\compiler\src\dmd\id.d ^
|
||||
dmd\compiler\src\dmd\identifier.d ^
|
||||
dmd\compiler\src\dmd\lexer.d ^
|
||||
dmd\compiler\src\dmd\tokens.d ^
|
||||
dmd\compiler\src\dmd\utils.d
|
||||
|
||||
set DMD_PARSER_SRC=^
|
||||
dmd\compiler\src\dmd\astbase.d ^
|
||||
dmd\compiler\src\dmd\parse.d ^
|
||||
dmd\compiler\src\dmd\parsetimevisitor.d ^
|
||||
dmd\compiler\src\dmd\transitivevisitor.d ^
|
||||
dmd\compiler\src\dmd\permissivevisitor.d ^
|
||||
dmd\compiler\src\dmd\strictvisitor.d ^
|
||||
dmd\compiler\src\dmd\astenums.d
|
||||
|
||||
for %%x in (src\dscanner\*.d) do set CORE=!CORE! %%x
|
||||
for %%x in (src\dscanner\analysis\*.d) do set ANALYSIS=!ANALYSIS! %%x
|
||||
for %%x in (libdparse\src\dparse\*.d) do set LIBDPARSE=!LIBDPARSE! %%x
|
||||
|
|
2
dmd
2
dmd
|
@ -1 +1 @@
|
|||
Subproject commit 6f1b331a6a29e3dddc647ec04dfc9cd85064f3e9
|
||||
Subproject commit ef02f08456762548555b1476a6e32c6e6af6320c
|
2
dub.json
2
dub.json
|
@ -18,7 +18,7 @@
|
|||
"libddoc": "~>0.8.0",
|
||||
"dmd": {
|
||||
"repository": "git+https://github.com/dlang/dmd.git",
|
||||
"version": "6f1b331a6a29e3dddc647ec04dfc9cd85064f3e9"
|
||||
"version": "ef02f08456762548555b1476a6e32c6e6af6320c"
|
||||
}
|
||||
},
|
||||
"targetPath" : "bin",
|
||||
|
|
32
makefile
32
makefile
|
@ -7,13 +7,12 @@ GIT ?= git
|
|||
DMD := $(DC)
|
||||
GDC := gdc
|
||||
LDC := ldc2
|
||||
DMD_ROOT_SRC := \
|
||||
$(shell find dmd/compiler/src/dmd/common -name "*.d")\
|
||||
$(shell find dmd/compiler/src/dmd/root -name "*.d")\
|
||||
|
||||
DMD_FRONTEND_SRC := \
|
||||
$(shell find dmd/compiler/src/dmd/common -name "*.d")\
|
||||
$(shell find dmd/compiler/src/dmd/root -name "*.d")\
|
||||
$(shell find dmd/compiler/src/dmd/visitor -name "*.d")\
|
||||
$(shell find dmd/compiler/src/dmd/mangle -name "*.d")\
|
||||
$(shell find dmd/compiler/src/dmd -maxdepth 1 -name "*.d" \
|
||||
! -name "mars.d" \
|
||||
! -name "dmsc.d" \
|
||||
|
@ -40,33 +39,6 @@ DMD_FRONTEND_SRC := \
|
|||
! -name "todt.d" \
|
||||
! -name "toir.d" \
|
||||
)
|
||||
# $(shell find dmd/compiler/src/dmd/backend -name "*.d") \
|
||||
# $(shell find dmd/compiler/src/dmd -maxdepth 1 -name "*.d" ! -name "mars.d" )
|
||||
|
||||
DMD_LEXER_SRC := \
|
||||
dmd/compiler/src/dmd/console.d \
|
||||
dmd/compiler/src/dmd/entity.d \
|
||||
dmd/compiler/src/dmd/errors.d \
|
||||
dmd/compiler/src/dmd/errorsink.d \
|
||||
dmd/compiler/src/dmd/file_manager.d \
|
||||
dmd/compiler/src/dmd/globals.d \
|
||||
dmd/compiler/src/dmd/id.d \
|
||||
dmd/compiler/src/dmd/identifier.d \
|
||||
dmd/compiler/src/dmd/lexer.d \
|
||||
dmd/compiler/src/dmd/tokens.d \
|
||||
dmd/compiler/src/dmd/utils.d \
|
||||
dmd/compiler/src/dmd/location.d \
|
||||
$(DMD_ROOT_SRC)
|
||||
|
||||
DMD_PARSER_SRC := \
|
||||
dmd/compiler/src/dmd/astbase.d \
|
||||
dmd/compiler/src/dmd/parse.d \
|
||||
dmd/compiler/src/dmd/parsetimevisitor.d \
|
||||
dmd/compiler/src/dmd/transitivevisitor.d \
|
||||
dmd/compiler/src/dmd/permissivevisitor.d \
|
||||
dmd/compiler/src/dmd/strictvisitor.d \
|
||||
dmd/compiler/src/dmd/astenums.d \
|
||||
$(DMD_LEXER_SRC)
|
||||
|
||||
LIB_SRC := \
|
||||
$(shell find containers/src -name "*.d")\
|
||||
|
|
|
@ -9,7 +9,7 @@ import std.container;
|
|||
import std.meta : AliasSeq;
|
||||
import std.string;
|
||||
import std.sumtype;
|
||||
import dmd.transitivevisitor;
|
||||
import dmd.visitor.transitive;
|
||||
import dmd.visitor;
|
||||
import dmd.func;
|
||||
import core.stdc.string;
|
||||
|
|
|
@ -9,8 +9,8 @@ import std.stdio;
|
|||
import std.container.rbtree;
|
||||
import std.functional : toDelegate;
|
||||
import dscanner.utils;
|
||||
import dmd.permissivevisitor;
|
||||
import dmd.transitivevisitor;
|
||||
import dmd.visitor.permissive;
|
||||
import dmd.visitor.transitive;
|
||||
import dmd.tokens;
|
||||
import dmd.common.outbuffer;
|
||||
import core.stdc.stdio;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue