[Dlang-internal] Where is checked the right paren closing the condition of an if / while condition ?
Basile B.
b2.temp at gmx.com
Sun Jun 24 08:30:56 UTC 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.
More information about the Dlang-internal
mailing list