Skip to content

Commit 27d5880

Browse files
committed
minor changes.
1 parent 1350a25 commit 27d5880

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/json_value_module.F90

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1823,17 +1823,17 @@ subroutine json_throw_exception(json,msg)
18231823
call tracebackqq(string=trim(msg), user_exit_code=0)
18241824
#else
18251825
write(error_unit,'(A)') 'JSON-Fortran Exception: '//trim(msg)
1826-
error stop 'JSON-Fortran Exception'
1826+
error stop 1
18271827
#endif
18281828

18291829
elseif (json%is_verbose) then
18301830

18311831
write(output_unit,'(A)') '***********************'
18321832
write(output_unit,'(A)') 'JSON-Fortran Exception: '//trim(msg)
18331833

1834-
#if defined __GFORTRAN__
1835-
!call backtrace() ! (have to compile with -fbacktrace -fall-intrinsics flags)
1836-
#endif
1834+
!#if defined __GFORTRAN__
1835+
! call backtrace() ! (have to compile with -fbacktrace -fall-intrinsics flags)
1836+
!#endif
18371837

18381838
#ifdef __INTEL_COMPILER
18391839
call tracebackqq(user_exit_code=-1) ! print a traceback and return

0 commit comments

Comments
 (0)