This commit is contained in:
Hackerpilot 2015-06-18 14:41:47 -07:00
parent ce1fdabc02
commit 7c40fdaa56
1 changed files with 7 additions and 1 deletions

View File

@ -48,7 +48,7 @@ import memory.allocators;
import common.constants;
import common.messages;
private alias ASTAllocator = CAllocatorImpl!(AllocatorList!(n => Region!Mallocator(1024 * 32)));
private alias ASTAllocator = CAllocatorImpl!(AllocatorList!(n => Region!Mallocator(1024 * 64)));
/**
* Gets documentation for the symbol at the cursor
@ -529,6 +529,12 @@ body
default: j++; break;
}
if (i >= j)
{
warning("Malformed import statement");
return response;
}
string path;
{
size_t k = 0;