Merge pull request #118 from callumenator/lambda-attr-fix
Allow function attributes in lambda expression
This commit is contained in:
commit
20d90c412a
|
@ -4149,6 +4149,8 @@ q{(int a, ...)
|
||||||
auto b = setBookmark();
|
auto b = setBookmark();
|
||||||
advance(); // function | delegate
|
advance(); // function | delegate
|
||||||
skipParens();
|
skipParens();
|
||||||
|
while (isAttribute())
|
||||||
|
parseAttribute();
|
||||||
if (currentIs(tok!"=>"))
|
if (currentIs(tok!"=>"))
|
||||||
{
|
{
|
||||||
goToBookmark(b);
|
goToBookmark(b);
|
||||||
|
|
Loading…
Reference in New Issue