/[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.1 - (hide annotations) (download)
Thu Jun 21 14:18:37 2007 UTC (18 years, 4 months ago) by utke
Branch: MAIN
baseline

1 utke 1.1 BEGIN { commonDecl = 0}
2     /^ .*/ {commonDecl = 0 }
3     /^[^ ]/ && !/^#ifdef / && !/^#endif/ && !/^#if / && !/^#else/ {commonDecl = 0 }
4     /^ *COMMON/ || /^ *common/ { commonDecl = 1 }
5     / &/ { if (commonDecl != 1) {print} }
6     /^#ifdef / || /^#endif/ || /^#if / || /^#else/ { if (commonDecl == 1) {print} }
7     {if (commonDecl ==0 ) print }
8     END {}

  ViewVC Help
Powered by ViewVC 1.1.22