<div dir="ltr">Hi,<div><br></div><div>In a C for loop like:</div><div>int a[10];</div><div>for(int i = 0; i < 10; i++){</div><div>   a[i] = i + 1;</div><div>}</div><div><br></div><div>The variable "i" is declared in the ForContext in ParseForStatement(), and then when parse body, I.E., the expression "a[i]" later, how does it know that "i" is declared?</div><div><br></div><div>In other words, how does the ForContext affect the later parsing of variable "i" ?</div><div><div><br></div>-- <br><div>Best Regards!<br>Eric Lew</div>
</div></div>