/[MITgcm]/MITgcm_contrib/heimbach/OpenAD/code_heat_transport_MPI/cb2mGetModules.awk
ViewVC logotype

Annotation of /MITgcm_contrib/heimbach/OpenAD/code_heat_transport_MPI/cb2mGetModules.awk

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Tue Mar 18 19:31:39 2008 UTC (17 years, 7 months ago) by utke
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -2 lines
copy changes made for regression

1 utke 1.1 BEGIN { commonDecl = 0}
2     /^ .*/ {commonDecl = 0 }
3 utke 1.2 /^[^ ]/ && !/^#ifdef / && !/^#endif/ && !/^#if / && !/^#else/ && !/^c.*/ && !/^C.*/ {commonDecl = 0 }
4 utke 1.1 /^ *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