minor cleanup
This commit is contained in:
parent
2569c80893
commit
aedf58eb81
2
build.sh
2
build.sh
|
@ -1,5 +1,5 @@
|
|||
#dmd *.d stdx/d/*.d -release -inline -noboundscheck -O -w -wi -m64 -property -ofdscanner-dmd
|
||||
dmd main.d stats.d imports.d highlighter.d ctags.d astprinter.d formatter.d outliner.d stdx/*.d stdx/d/*.d -g -m64 -wi -ofdscanner
|
||||
#ldc2 -O3 *.d stdx/d/*.d -of=dscanner-ldc -release -m64
|
||||
#ldc2 main.d stats.d imports.d highlighter.d ctags.d astprinter.d formatter.d outliner.d stdx/*.d stdx/d/*.d -O3 -of=dscanner-ldc -release -m64 -oq
|
||||
#ldc2 *.d stdx/d/*.d -of=dscanner -unittest -m64 -g
|
||||
#/opt/gdc/bin/gdc -O3 -odscanner-gdc -fno-bounds-check -frelease -m64 *.d stdx/d/*.d
|
||||
|
|
|
@ -261,9 +261,9 @@ mixin template Lexer(R, IDType, Token, alias isSeparating, alias defaultTokenFun
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* This only exists because the real array() can't be called at compile-time
|
||||
*/
|
||||
/**
|
||||
* This only exists because the real array() can't be called at compile-time
|
||||
*/
|
||||
static T[] stupidToArray(R, T = ElementType!R)(R range)
|
||||
{
|
||||
T[] rVal;
|
||||
|
|
Loading…
Reference in New Issue