diff options
Diffstat (limited to 'lib/77bit/packjt77.f90')
| -rw-r--r-- | lib/77bit/packjt77.f90 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/77bit/packjt77.f90 b/lib/77bit/packjt77.f90 index aec73c68..b8a4ac42 100644 --- a/lib/77bit/packjt77.f90 +++ b/lib/77bit/packjt77.f90 @@ -1118,7 +1118,7 @@ subroutine pack77_1(nwords,w,i3,n3,c77) irpt=irpt+35 else if(c2.eq.'R+' .or. c2.eq.'R-') then ir=1 - read(w(nwords)(2:),*) irpt + read(w(nwords)(2:),*,err=900) irpt if(irpt.ge.-50 .and. irpt.le.-31) irpt=irpt+101 irpt=irpt+35 else if(trim(w(nwords)).eq.'RRR') then @@ -1276,6 +1276,7 @@ subroutine pack77_4(nwords,w,i3,n3,c77) if(call_2(1:1).eq.'<') call_2=w(2)(2:len(trim(w(2)))-1) call chkcall(call_1,bcall_1,ok1) call chkcall(call_2,bcall_2,ok2) + if(call_1.eq.bcall_1 .and. call_2.eq.bcall_2 .and. ok1 .and. ok2) go to 900 icq=0 if(trim(w(1)).eq.'CQ' .or. (ok1.and.ok2)) then if(trim(w(1)).eq.'CQ' .and. len(trim(w(2))).le.4) go to 900 |
