Skip to content

Commit

Permalink
Changes needed in each routine.
Browse files Browse the repository at this point in the history
  • Loading branch information
tclune committed Aug 1, 2023
1 parent 20547ea commit 085647e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions base/MAPL_Config.F90
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ function MAPL_ConfigCreate(unusable, rc) result(config)
integer, optional, intent(out) :: rc

character, parameter :: EOB = achar(00) !! end of buffer mark (null)
!!$#ifdef ESMF_HAS_ACHAR_BUG
#if defined(ESMF_HAS_ACHAR_BUG) | defined(__NAG_COMPILER_BUILD)
character, parameter :: EOL = achar(12) !! end of line mark (cr)
!!$#else
!!$ character, parameter :: EOL = achar(10) !! end of line mark (newline)
!!$#endif
#else
character, parameter :: EOL = achar(10) !! end of line mark (newline)
#endif
character, parameter :: NUL = achar(00) !! what it says

_UNUSED_DUMMY(unusable)
Expand Down Expand Up @@ -95,7 +95,7 @@ subroutine MAPL_ConfigSetAttribute_real64( config, value, label, rc )

character, parameter :: BLK = achar(32) ! blank (space)
character, parameter :: TAB = achar(09) ! TAB
#ifdef ESMF_HAS_ACHAR_BUG
#if defined(ESMF_HAS_ACHAR_BUG) | defined(__NAG_COMPILER_BUILD)
character, parameter :: EOL = achar(12) ! end of line mark (cr)
#else
character, parameter :: EOL = achar(10) ! end of line mark (newline)
Expand Down Expand Up @@ -264,7 +264,7 @@ subroutine MAPL_ConfigSetAttribute_real32( config, value, label, rc )

character, parameter :: BLK = achar(32) ! blank (space)
character, parameter :: TAB = achar(09) ! TAB
#ifdef ESMF_HAS_ACHAR_BUG
#if defined(ESMF_HAS_ACHAR_BUG) | defined(__NAG_COMPILER_BUILD)
character, parameter :: EOL = achar(12) ! end of line mark (cr)
#else
character, parameter :: EOL = achar(10) ! end of line mark (newline)
Expand Down Expand Up @@ -433,7 +433,7 @@ subroutine MAPL_ConfigSetAttribute_int32( config, value, label, rc )

character, parameter :: BLK = achar(32) ! blank (space)
character, parameter :: TAB = achar(09) ! TAB
#ifdef ESMF_HAS_ACHAR_BUG
#if defined(ESMF_HAS_ACHAR_BUG) | defined(__NAG_COMPILER_BUILD)
character, parameter :: EOL = achar(12) ! end of line mark (cr)
#else
character, parameter :: EOL = achar(10) ! end of line mark (newline)
Expand Down Expand Up @@ -678,7 +678,7 @@ subroutine MAPL_ConfigSetAttribute_string(config, value, label, rc)

character, parameter :: BLK = achar(32) ! blank (space)
character, parameter :: TAB = achar(09) ! TAB
#ifdef ESMF_HAS_ACHAR_BUG
#if defined(ESMF_HAS_ACHAR_BUG) | defined(__NAG_COMPILER_BUILD)
character, parameter :: EOL = achar(12) ! end of line mark (cr)
#else
character, parameter :: EOL = achar(10) ! end of line mark (newline)
Expand Down

0 comments on commit 085647e

Please sign in to comment.