source: lmdz_wrf/trunk/WRFV3/arch/no_file_line.sed @ 409

Last change on this file since 409 was 1, checked in by lfita, 10 years ago
  • -- --- Opening of the WRF+LMDZ coupling repository --- -- -

WRF: version v3.3
LMDZ: version v1818

More details in:

File size: 611 bytes
Line 
1#### This sed script does not pass __FILE__ and __LINE__ to wrf_error_fatal() ####
2#### Use this when the Fortran compiler complains about long source lines,    ####
3#### usually due to cpp translating __FILE__ to a full pathname.              ####
4#
5# get rid of single quotes after comments
6# WARNING:  This will break if a quoted string is followed by a comment that has
7#           a single quote. 
8/\!.*'/s/'//g
9# DO NOT Automatically add cpp __LINE__ and __FILE__ to calls to wrf_error_fatal(). 
10# s/[Cc][Aa][Ll][Ll] *[Ww][Rr][Ff]_[Ee][Rr][Rr][Oo][Rr]_[Ff][Aa][Tt][Aa][Ll] *(/& __FILE__ , __LINE__ , /
Note: See TracBrowser for help on using the repository browser.