Skip to content

Commit

Permalink
xtractNotes_from_log: fix a bug of a fix
Browse files Browse the repository at this point in the history
  • Loading branch information
h-dh committed Feb 8, 2016
1 parent 1273794 commit a8f0a66
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions scripts/xtractNotes_from_log
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,6 @@ findPureAtomic()
declare -a pAT

for(( ix=0 ; ix < ${#atomicBase[*]} ; ++ix )) ; do

tags=( ${atomicTags[ix]//,/ } )
tags0=( ${tags[0]//\// } )

Expand All @@ -372,7 +371,7 @@ findPureAtomic()
# ensemble of atomic vars; either for all or for groups

# array with all pure atomic tags
for(( ix=0 ; ix < ${#pureAtomicTags[*]} ; ++ix )) ; do
for(( ix=0 ; ix < ${#atomicBase[*]} ; ++ix )) ; do
tags=( ${pureAtomicTags[ix]//,/ } )

for(( j=0 ; j < ${#tags[*]} ; ++j )) ; do
Expand All @@ -393,7 +392,7 @@ findPureAtomic()
for(( i=0 ; i < N ; ++i )) ; do

# each tag gets indices of corresponding atomicBase names
for(( ix=0 ; ix < ${#pureAtomicTags[*]} ; ++ix )) ; do
for(( ix=0 ; ix < ${#atomicBase[*]} ; ++ix )) ; do
tags=( ${pureAtomicTags[ix]//,/ } )

for(( j=0 ; j < ${#tags[*]} ; ++j )) ; do
Expand Down Expand Up @@ -1090,9 +1089,9 @@ xtrctAnnotated()
# the end of a block
if findAnnotatedBlock ; then
processBlock
isSound=t
else
isSound=f
else
isSound=t
fi

atomicParsing_blk $isSound
Expand All @@ -1105,9 +1104,9 @@ xtrctAnnotated()
# last block
if findAnnotatedBlock ; then
processBlock
isSound=t
else
isSound=f
else
isSound=t
fi
atomicParsing_blk $isSound

Expand Down

0 comments on commit a8f0a66

Please sign in to comment.