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

Contents of /MITgcm_contrib/heimbach/OpenAD/code_regress/cb2mGetModules.awk

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


Revision 1.3 - (show annotations) (download)
Mon Oct 6 18:41:48 2008 UTC (16 years, 9 months ago) by utke
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
FILE REMOVED
files moved to generic OAD_support

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