Differences From Artifact [f6e59fa6a8]:
- File source/CCList.asm — part of check-in [5d7d72100c] at 2012-10-30 14:28:22 on branch trunk — Local labels auto completion generally working. (user: lhmnai0 size: 24071)
To Artifact [e5cd17ab46]:
- File source/CCList.asm — part of check-in [fabf9fc773] at 2012-11-01 09:59:55 on branch trunk — Included trap in AsmEdit component to hunt for long time crash, which happens sometimes. Fixed crash when trying to autocomplete local label on not compiled project. (user: lhmnai0 size: 24127)
| ︙ | |||
914 915 916 917 918 919 920 921 922 923 924 925 926 927 | 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 | + + + |
proc SearchFileInGlobalIndex, .hFilename
begin
push ecx esi
mov esi, [ptrGlobalsList]
test esi, esi
jz .not_found
mov ecx, [esi+TArray.count]
.loop:
dec ecx
js .not_found
mov eax, [esi+TArray.array+sizeof.TGlobalIndexItem*ecx+TGlobalIndexItem.iFilename]
|
| ︙ |