Fix #165
This commit is contained in:
parent
ae9ff77242
commit
57f05303b9
|
@ -6255,7 +6255,11 @@ protected:
|
|||
|
||||
bool isAssociativeArrayLiteral()
|
||||
{
|
||||
return hasMagicDelimiter!(tok!"[", tok!":")();
|
||||
auto b = setBookmark();
|
||||
scope(exit) goToBookmark(b);
|
||||
advance();
|
||||
Expression e = parseExpression();
|
||||
return e !is null && currentIs(tok!":");
|
||||
}
|
||||
|
||||
bool hasMagicDelimiter(alias L, alias T)()
|
||||
|
|
Loading…
Reference in New Issue