[[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
> * files I don't think of a file as an entity. Rather, a file contains entities. > * functions > * variables not in global scope I'm not sure how to understand "not in global scope". Could you clarify that? Anyway, entities in C include functions, file-scope structures, file-scope unions, file-scope variables, and macros. In C++ they would also include class definitions -- and is there anything else? > I don't think it's necessary to identify, for example the variable "i" in > for (int i = 0; i < 10; ++i) I agree on that. In most cases, an entity is a maximal syntactic construct. However, if something is not maximal but has an openbrace in column zero, it is also an entity. -- Dr Richard Stallman President, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) Skype: No way! See https://stallman.org/skype.html.