Fix issue with autocompletion after scope statements

This commit is contained in:
Hackerpilot 2013-11-17 02:00:47 +00:00
parent f47b7c75c0
commit d35911a9fb
1 changed files with 1 additions and 0 deletions

View File

@ -547,6 +547,7 @@ T getExpression(T)(T beforeTokens)
// if it's a loop keyword, pretend we never skipped the parens.
if (i > 0) switch (beforeTokens[i - 1].type)
{
case TokenType.scope_:
case TokenType.if_:
case TokenType.while_:
case TokenType.for_: