Oh, ok, its a range of lines is it?

Well, the function name is included in the scope of local variables. So e.g. for

int main(void) {
    int i;
    for (i = 0; i < 10; i++) {
        int j;
    }
}

the scope for i is main. Now of course you won't see any nested blocks so j will have the same scope as i but at least you can distinguish what's local for the function and what isn't.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.