From b842df6413f1b161c147fc11363e2563ce790161 Mon Sep 17 00:00:00 2001 From: rsw0x Date: Fri, 2 Jan 2015 00:53:58 -0500 Subject: [PATCH] accidentally messed up formatting --- src/modulecache.d | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modulecache.d b/src/modulecache.d index 65be38a..e3bb4f2 100644 --- a/src/modulecache.d +++ b/src/modulecache.d @@ -164,8 +164,8 @@ struct ModuleCache return null; const(Token)[] tokens; - auto parseStringCache = StringCache(StringCache.defaultBucketCount); - { + auto parseStringCache = StringCache(StringCache.defaultBucketCount); + { ubyte[] source = cast(ubyte[]) Mallocator.it.allocate(fileSize); scope (exit) Mallocator.it.deallocate(source); f.rawRead(source); @@ -178,7 +178,7 @@ struct ModuleCache (source.length >= 3 && source[0 .. 3] == "\xef\xbb\xbf"c) ? source[3 .. $] : source, config, &parseStringCache); - } + } auto semanticAllocator = scoped!(CAllocatorImpl!(BlockAllocator!(1024 * 64))); Module m = parseModuleSimple(tokens[], cachedLocation, semanticAllocator);