minor cleanup

This commit is contained in:
Hackerpilot 2013-12-16 16:00:14 -08:00
parent 2569c80893
commit aedf58eb81
2 changed files with 11 additions and 11 deletions

View File

@ -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

View File

@ -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;