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();
|
||||
advance(); // function | delegate
|
||||
skipParens();
|
||||
while (isAttribute())
|
||||
parseAttribute();
|
||||
if (currentIs(tok!"=>"))
|
||||
{
|
||||
goToBookmark(b);
|
||||
|
|
Loading…
Reference in New Issue