Fix issue with autocompletion after scope statements
This commit is contained in:
parent
f47b7c75c0
commit
d35911a9fb
|
|
@ -547,6 +547,7 @@ T getExpression(T)(T beforeTokens)
|
||||||
// if it's a loop keyword, pretend we never skipped the parens.
|
// if it's a loop keyword, pretend we never skipped the parens.
|
||||||
if (i > 0) switch (beforeTokens[i - 1].type)
|
if (i > 0) switch (beforeTokens[i - 1].type)
|
||||||
{
|
{
|
||||||
|
case TokenType.scope_:
|
||||||
case TokenType.if_:
|
case TokenType.if_:
|
||||||
case TokenType.while_:
|
case TokenType.while_:
|
||||||
case TokenType.for_:
|
case TokenType.for_:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue