@@ -270,9 +270,9 @@ end subroutine array_callback_func
270
270
interface json_get
271
271
module procedure :: json_get_by_path
272
272
module procedure :: json_get_integer, json_get_integer_vec
273
- module procedure :: json_get_double, json_get_double_vec
273
+ module procedure :: json_get_double, json_get_double_vec
274
274
module procedure :: json_get_logical, json_get_logical_vec
275
- module procedure :: json_get_chars, json_get_char_vec
275
+ module procedure :: json_get_chars, json_get_char_vec
276
276
module procedure :: json_get_array
277
277
end interface json_get
278
278
@@ -308,18 +308,15 @@ end subroutine array_callback_func
308
308
public :: to_object !
309
309
public :: to_array !
310
310
311
- public :: integer_to_string ! basic integer to string routine
312
-
313
311
! exception handling [private variables]
314
312
logical :: exception_thrown = .false. ! the error flag
315
313
character (len= :),allocatable :: err_message ! the error message
316
- logical ,parameter :: print_tracebacks = .false. ! used when debugging
317
314
318
315
! POP/PUSH CHARACTER [private variables]
319
316
integer :: char_count = 0
320
317
integer :: line_count = 1
321
318
integer :: pushed_index = 0
322
- character (len = 10 ) :: pushed_char ! JW : what is this magic number 10??
319
+ character (len= 10 ) :: pushed_char ! JW : what is this magic number 10??
323
320
324
321
contains
325
322
! *****************************************************************************************
@@ -633,7 +630,6 @@ subroutine get_integer_vec_from_json_file(me, path, vec, found)
633
630
integer ,dimension (:),allocatable ,intent (out ) :: vec
634
631
logical ,intent (out ),optional :: found
635
632
636
-
637
633
call json_get(me% p, path, vec, found)
638
634
639
635
end subroutine get_integer_vec_from_json_file
@@ -910,17 +906,6 @@ subroutine throw_exception(msg)
910
906
exception_thrown = .true.
911
907
err_message = trim (msg)
912
908
913
- ! if (print_tracebacks) then
914
- !
915
- ! !This is a feature of the Intel Fortran Compiler:
916
- ! !Throw a traceback and return control to the user.
917
- ! call tracebackqq(string=trim(msg), user_exit_code=-1)
918
- !
919
- ! !write(*,'(A)') trim(msg) !gfortran version
920
- ! !stop
921
- !
922
- ! end if
923
-
924
909
end subroutine throw_exception
925
910
! *****************************************************************************************
926
911
0 commit comments