accidentally messed up formatting

This commit is contained in:
rsw0x 2015-01-02 00:53:58 -05:00
parent 03fab0e15d
commit b842df6413
1 changed files with 3 additions and 3 deletions

View File

@ -164,8 +164,8 @@ struct ModuleCache
return null; return null;
const(Token)[] tokens; const(Token)[] tokens;
auto parseStringCache = StringCache(StringCache.defaultBucketCount); auto parseStringCache = StringCache(StringCache.defaultBucketCount);
{ {
ubyte[] source = cast(ubyte[]) Mallocator.it.allocate(fileSize); ubyte[] source = cast(ubyte[]) Mallocator.it.allocate(fileSize);
scope (exit) Mallocator.it.deallocate(source); scope (exit) Mallocator.it.deallocate(source);
f.rawRead(source); f.rawRead(source);
@ -178,7 +178,7 @@ struct ModuleCache
(source.length >= 3 && source[0 .. 3] == "\xef\xbb\xbf"c) (source.length >= 3 && source[0 .. 3] == "\xef\xbb\xbf"c)
? source[3 .. $] : source, ? source[3 .. $] : source,
config, &parseStringCache); config, &parseStringCache);
} }
auto semanticAllocator = scoped!(CAllocatorImpl!(BlockAllocator!(1024 * 64))); auto semanticAllocator = scoped!(CAllocatorImpl!(BlockAllocator!(1024 * 64)));
Module m = parseModuleSimple(tokens[], cachedLocation, semanticAllocator); Module m = parseModuleSimple(tokens[], cachedLocation, semanticAllocator);