Skip to content

Commit ea28d41

Browse files
committed
corrected a minor issue if parse_value is called incorrectly (normally, this should never happen).
1 parent 1d62b9b commit ea28d41

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/json_value_module.F90

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9088,6 +9088,7 @@ recursive subroutine parse_value(json, unit, str, value)
90889088
!the routine is being called incorrectly.
90899089
if (.not. associated(value)) then
90909090
call json%throw_exception('Error in parse_value: value pointer not associated.')
9091+
return
90919092
end if
90929093

90939094
! pop the next non whitespace character off the file

0 commit comments

Comments
 (0)