Fix #223
This commit is contained in:
parent
ce1fdabc02
commit
7c40fdaa56
|
@ -48,7 +48,7 @@ import memory.allocators;
|
||||||
import common.constants;
|
import common.constants;
|
||||||
import common.messages;
|
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
|
* Gets documentation for the symbol at the cursor
|
||||||
|
@ -529,6 +529,12 @@ body
|
||||||
default: j++; break;
|
default: j++; break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (i >= j)
|
||||||
|
{
|
||||||
|
warning("Malformed import statement");
|
||||||
|
return response;
|
||||||
|
}
|
||||||
|
|
||||||
string path;
|
string path;
|
||||||
{
|
{
|
||||||
size_t k = 0;
|
size_t k = 0;
|
||||||
|
|
Loading…
Reference in New Issue