X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=utils%2FDSAextract.py;h=89dece1f3339419048cdbf05bc1838c184c66f5d;hb=e2fff4f7f9edae5f497b226ace98d95494786a82;hp=de82b5556b5d60a26f11a19605d8c412e671b394;hpb=7e1cf1c8f456a82de9f68c1727a94e1202a927a0;p=oota-llvm.git diff --git a/utils/DSAextract.py b/utils/DSAextract.py index de82b5556b5..89dece1f333 100644 --- a/utils/DSAextract.py +++ b/utils/DSAextract.py @@ -58,7 +58,7 @@ node_set = set() #read the file one line at a time buffer = input.readline() while buffer != '': - #filter out the unecessary checks on all the edge lines + #filter out the unnecessary checks on all the edge lines if not arrowexp.search(buffer): #check to see if this is a node we are looking for for regexp in regexp_list: @@ -66,6 +66,7 @@ while buffer != '': #for the node (it will be Node(hex number)) to our set of nodes if regexp.search(buffer): node_set |= set([re.split('\s+',buffer,2)[1]]) + break buffer = input.readline()