Skip to content

Commit 73c8973

Browse files
committed
minor refactoring.
1 parent a32204c commit 73c8973

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/json_parameters.F90

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ module json_parameters
3737
character(kind=CK,len=*),parameter :: slash = achar(47)
3838
character(kind=CK,len=*),parameter :: backslash = achar(92)
3939

40+
character(kind=CK,len=*),parameter,public :: star = '*' !! for invalid numbers and
41+
!! list-directed real output
42+
4043
!These were parameters, but gfortran bug (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65141)
4144
!necessitates moving them here to be variables
4245
character(kind=CK,len=4),protected :: null_str = 'null'

src/json_string_utilities.F90

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@
77
module json_string_utilities
88

99
use json_kinds
10+
use json_parameters, only: star
1011

1112
implicit none
1213

1314
private
1415

15-
character(kind=CK,len=*),parameter,public :: star = '*' !! for invalid numbers and
16-
!! list-directed real output
17-
1816
!******************************************************
1917
!>
2018
! Convert a 'DEFAULT' kind character input to

0 commit comments

Comments
 (0)