Fix call tips for shorthand template syntax

This commit is contained in:
Hackerpilot 2014-11-14 00:28:00 +00:00
parent cd06a417fa
commit 77fb7bb400
1 changed files with 14 additions and 0 deletions

View File

@ -367,7 +367,21 @@ AutocompleteResponse parenCompletion(T)(T beforeTokens,
response.completionKinds ~= CompletionKind.keyword; response.completionKinds ~= CompletionKind.keyword;
} }
break; break;
case tok!"characterLiteral":
case tok!"doubleLiteral":
case tok!"dstringLiteral":
case tok!"floatLiteral":
case tok!"identifier": case tok!"identifier":
case tok!"idoubleLiteral":
case tok!"ifloatLiteral":
case tok!"intLiteral":
case tok!"irealLiteral":
case tok!"longLiteral":
case tok!"realLiteral":
case tok!"stringLiteral":
case tok!"uintLiteral":
case tok!"ulongLiteral":
case tok!"wstringLiteral":
case tok!")": case tok!")":
case tok!"]": case tok!"]":
auto allocator = scoped!(CAllocatorImpl!(BlockAllocator!(1024 * 16)))(); auto allocator = scoped!(CAllocatorImpl!(BlockAllocator!(1024 * 16)))();