Skip to content

Commit 3c416ec

Browse files
author
Matthias Kastner
committed
bugfix: Procedures not fully parsed.
When in "not compiled" state the function list is returned as a single, invalid entry. If this entry is returned, do not save the checksum for this procedure as it has to be reparsed when opened again.
1 parent 7024365 commit 3c416ec

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

procedures/CodeBrowser.ipf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -656,6 +656,11 @@ static Function saveResults(procedure)
656656
SaveVariablesWave[procedure.row][0] = 1 // mark as valid
657657
SaveVariablesWave[procedure.row][1] = getParsingTime() // time in micro seconds
658658
SaveVariablesWave[procedure.row][2] = getCheckSumTime() // time in micro seconds
659+
660+
// if function list could not be acquired don't save the checksum
661+
if(!numpnts(declWave) || !cmpstr(declWave[0][1], "Procedures Not Compiled() -> "))
662+
SaveStringsWave[procedure.row][1] = "no checksum"
663+
endif
659664
End
660665

661666
static Function saveLoad(procedure)

0 commit comments

Comments
 (0)