Skip to content

Commit f9c4139

Browse files
committed
fixed example for unicode.
1 parent 47e5acd commit f9c4139

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tests/jf_test_22.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
module jf_test_22_mod
66

7-
use json_module
7+
use json_module, CK => json_CK
88
use, intrinsic :: iso_fortran_env , only: error_unit, output_unit, wp => real64
99

1010
implicit none
@@ -32,7 +32,7 @@ subroutine test_22(error_cnt)
3232
write(*,*) 'initialize...'
3333

3434
error_cnt = 0
35-
call json%initialize(comment_char='!') ! fortran-style comments
35+
call json%initialize(comment_char=CK_'!') ! fortran-style comments
3636
if (json%failed()) then
3737
call json%print_error_message(error_unit)
3838
error_cnt = error_cnt + 1

0 commit comments

Comments
 (0)