June 24, 2018
Can someone give me the link to the SLOC in parser.d where is checked the right parenthesis for example here

if (true) {}
--------^

or here

while (true) {}
-----------^

That's very strange but by following the path

parseExpression
parseAssignExpression
.   .
.   .
.   .
parseUnaryExpression
parsePrimaryExpression
parsePostExpression

I don't see it at all. I expected it at the end but well...nothing.
June 24, 2018
On Sunday, 24 June 2018 at 08:30:56 UTC, Basile B. wrote:
> Can someone give me the link to the SLOC in parser.d where is checked the right parenthesis for example here
>
> if (true) {}
> --------^
>
> or here
>
> while (true) {}
> -----------^
>
> That's very strange but by following the path
>
> parseExpression
> parseAssignExpression
> .   .
> .   .
> .   .
> parseUnaryExpression
> parsePrimaryExpression
> parsePostExpression
>
> I don't see it at all. I expected it at the end but well...nothing.

Sorry ignore. I don't know how i've managed to miss it yesterday, it's just at its right place in parseStatement. :/