Switch to use the frozen stdx-allocator
This commit is contained in:
parent
3f32aef64a
commit
efb0582d2c
|
@ -14,3 +14,6 @@
|
|||
[submodule "libddoc"]
|
||||
path = libddoc
|
||||
url = https://github.com/economicmodeling/libddoc
|
||||
[submodule "stdx-allocator"]
|
||||
path = stdx-allocator
|
||||
url = https://github.com/dlang-community/stdx-allocator
|
||||
|
|
5
dub.json
5
dub.json
|
@ -13,10 +13,11 @@
|
|||
],
|
||||
"dependencies" : {
|
||||
"libdparse" : "~>0.8.0-alpha.2",
|
||||
"dsymbol" : "~>0.3.0-alpha.1",
|
||||
"dsymbol" : "~>0.3.0-alpha.2",
|
||||
"inifiled" : ">=1.0.2",
|
||||
"emsi_containers" : "~>0.6.0",
|
||||
"libddoc" : "~>0.3.0-beta.1"
|
||||
"libddoc" : "~>0.3.0-beta.1",
|
||||
"stdx-allocator" : "~>2.77.0"
|
||||
},
|
||||
"targetPath" : "bin"
|
||||
}
|
||||
|
|
12
makefile
12
makefile
|
@ -11,14 +11,18 @@ LIB_SRC := \
|
|||
$(shell find inifiled/source/ -name "*.d")\
|
||||
$(shell find libdparse/src/std/experimental/ -name "*.d")\
|
||||
$(shell find libdparse/src/dparse/ -name "*.d")\
|
||||
$(shell find libddoc/src -name "*.d")
|
||||
$(shell find libddoc/src -name "*.d") \
|
||||
$(shell find stdx-allocator/source -name "*.d")
|
||||
PROJECT_SRC := $(shell find src/ -name "*.d")
|
||||
SRC := $(LIB_SRC) $(PROJECT_SRC)
|
||||
INCLUDE_PATHS = \
|
||||
-Iinifiled/source -Isrc\
|
||||
-Isrc \
|
||||
-Iinifiled/source \
|
||||
-Ilibdparse/src \
|
||||
-Idsymbol/src -Icontainers/src\
|
||||
-Ilibddoc/src
|
||||
-Idsymbol/src \
|
||||
-Icontainers/src \
|
||||
-Ilibddoc/src \
|
||||
-Istdx-allocator/source
|
||||
VERSIONS =
|
||||
DEBUG_VERSIONS = -version=dparse_verbose
|
||||
DMD_FLAGS = -w -inline -release -O -J. -od${OBJ_DIR} -version=StdLoggerDisableWarning
|
||||
|
|
|
@ -16,8 +16,8 @@ import dsymbol.modulecache : ModuleCache;
|
|||
import analysis.config;
|
||||
import analysis.run;
|
||||
import analysis.base;
|
||||
import std.experimental.allocator.mallocator;
|
||||
import std.experimental.allocator;
|
||||
import stdx.allocator.mallocator;
|
||||
import stdx.allocator;
|
||||
|
||||
S between(S)(S value, S before, S after) if (isSomeString!S)
|
||||
{
|
||||
|
|
|
@ -18,10 +18,10 @@ import dparse.ast;
|
|||
import dparse.rollback_allocator;
|
||||
import std.typecons : scoped;
|
||||
|
||||
import std.experimental.allocator : CAllocatorImpl;
|
||||
import std.experimental.allocator.mallocator : Mallocator;
|
||||
import std.experimental.allocator.building_blocks.region : Region;
|
||||
import std.experimental.allocator.building_blocks.allocator_list : AllocatorList;
|
||||
import stdx.allocator : CAllocatorImpl;
|
||||
import stdx.allocator.mallocator : Mallocator;
|
||||
import stdx.allocator.building_blocks.region : Region;
|
||||
import stdx.allocator.building_blocks.allocator_list : AllocatorList;
|
||||
|
||||
import analysis.config;
|
||||
import analysis.base;
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 7487970b58f4a2c0d495679329a8a2857111f3fd
|
Loading…
Reference in New Issue