Sha256: 0f5e2dec76f0d1597e3d3c80e920834ca8bf6803bccbcbad6606055db86e2c02
Contents?: true
Size: 406 Bytes
Versions: 2
Compression:
Stored size: 406 Bytes
Contents
// In real world this would have a (rather complex) implementation. // See Q_FOREACH() and foreach() macros in Qt as example. #define foreach(_a,_b) char * pointers[10]; int a,b; int main(int,char **) { //... // p is declared inside foreach() parenthesis. // pointers is NOT declared here foreach(char * p,pointers) { } // This is not a variable declaration. if(a * b) { } return 0; }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ctags.rb-1.1.4 | ext/vendor/ctags/Units/parser-cxx.r/foreach.d/input.cpp |
ctags.rb-1.1.3 | ext/vendor/ctags/Units/parser-cxx.r/foreach.d/input.cpp |