Skip to content

Commit

Permalink
delay model package name error until all names checked
Browse files Browse the repository at this point in the history
  • Loading branch information
mjreno authored and mjreno committed May 19, 2024
1 parent 8700a22 commit 7024c0e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Utilities/Idm/ModelPackageInputs.f90
Original file line number Diff line number Diff line change
Expand Up @@ -413,15 +413,15 @@ subroutine modelpkgs_addpkgs(this)
fname = fnames(n)
call inlen_check(pnames(n), pname, LENPACKAGENAME, 'PACKAGENAME')
!
! -- terminate if errors were detected
if (count_errors() > 0) then
call store_error_filename(this%modelfname)
end if
!
! -- add this instance to package list
call this%add(ftype, fname, pname)
end do
!
! -- terminate if errors were detected
if (count_errors() > 0) then
call store_error_filename(this%modelfname)
end if
!
! --
return
end subroutine modelpkgs_addpkgs
Expand Down

0 comments on commit 7024c0e

Please sign in to comment.