summaryrefslogtreecommitdiff
path: root/lib/77bit/packjt77.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2021-09-09 22:49:00 +0200
committerChristoph Berg <myon@debian.org>2021-09-09 22:49:00 +0200
commit85895feeaf88bcde26bbfc71e8f6b2047c0f5f41 (patch)
tree79807e00771e4af4ce279e368262f2222806102f /lib/77bit/packjt77.f90
parent2f095a04ed69d9aa14b47dc4acde6b3225b2d65e (diff)
New upstream version 2.5.0~rc6+repackupstream/2.5.0_rc6+repack
Diffstat (limited to 'lib/77bit/packjt77.f90')
-rw-r--r--lib/77bit/packjt77.f903
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