Parent Directory | Revision Log | Revision Graph
* Merge OAD_support from MITgcm_contrib/heimbach/OpenAD/OAD_support/ to tools/OAD_support/ * Adjust genmake2 to reflect path change (attempt with ${OADTOOLS}) * Adjust insertTemplateDir.bash to reflect path change Seems to work.
1 | BEGIN { commonDecl = 0} |
2 | /^ .*/ {commonDecl = 0 } |
3 | /^[^ ]/ && !/^#ifdef / && !/^#endif/ && !/^#if / && !/^#else/ && !/^c.*/ && !/^C.*/ {commonDecl = 0 } |
4 | /^ *COMMON/ || /^ *common/ { commonDecl = 1 } |
5 | /^#ifdef / || /^#endif/ || /^#if / || /^#else/ { if (commonDecl == 1) {print} } |
6 | {if (commonDecl ==0 ) print } |
7 | END {} |
ViewVC Help | |
Powered by ViewVC 1.1.22 |