forked from KolibriOS/kolibrios
C--: fix some compiler warnings
git-svn-id: svn://kolibrios.org@1849 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
0c96c62ef9
commit
7e7119cdc5
@ -141,7 +141,7 @@ dword pname1,pname2,j;
|
|||||||
_llseek(dll,fptr+6,0); _lread(dll,#nsect,2); // Number of sections
|
_llseek(dll,fptr+6,0); _lread(dll,#nsect,2); // Number of sections
|
||||||
delta=export;
|
delta=export;
|
||||||
i=1;
|
i=1;
|
||||||
while(i<=nsect){
|
WHILE(i<=nsect){
|
||||||
EAX=i; EAX--; EAX=EAX*40; EAX+=260; EAX+=fptr; // fptr+260+40*(i-1)
|
EAX=i; EAX--; EAX=EAX*40; EAX+=260; EAX+=fptr; // fptr+260+40*(i-1)
|
||||||
_llseek(dll,EAX,0); _lread(dll,#base,4); // RVA of section
|
_llseek(dll,EAX,0); _lread(dll,#base,4); // RVA of section
|
||||||
IF(base<=export){
|
IF(base<=export){
|
||||||
@ -273,7 +273,7 @@ byte var_name[IDLENGTH];
|
|||||||
linenum2++; // Ž¡ à㦥 ª®¥æ áâப¨
|
linenum2++; // Ž¡ à㦥 ª®¥æ áâப¨
|
||||||
totallines++;
|
totallines++;
|
||||||
}
|
}
|
||||||
else if(AL=='}'){ // ¡«®ª § ªàëâ
|
else IF(AL=='}'){ // ¡«®ª § ªàëâ
|
||||||
count--;
|
count--;
|
||||||
IF(count==0){ // ª®¥æ ¯à®æ¥¤ãàë
|
IF(count==0){ // ª®¥æ ¯à®æ¥¤ãàë
|
||||||
ESI><inptr2;
|
ESI><inptr2;
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#define STRING_ERROR "string found in tree when trying to add to it"
|
||||||
// ---- ‡ ¥á¥¨¥ ¯®¨¬¥®¢ ®© ª®áâ âë ¢ ᯨ᮪
|
// ---- ‡ ¥á¥¨¥ ¯®¨¬¥®¢ ®© ª®áâ âë ¢ ᯨ᮪
|
||||||
AddConstToTree(dword keystring,constvalue)
|
AddConstToTree(dword keystring,constvalue)
|
||||||
dword ptr,newptr; // idrec structure
|
dword ptr,newptr; // idrec structure
|
||||||
@ -32,7 +33,7 @@ dword ptr,newptr; // idrec structure
|
|||||||
}
|
}
|
||||||
ptr=DSDWORD[ESI+right];
|
ptr=DSDWORD[ESI+right];
|
||||||
}
|
}
|
||||||
ELSE internalerror("string found in tree when trying to add to it");
|
ELSE internalerror(STRING_ERROR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// ”®à¬¨à㥬 ®¢ãî § ¯¨áì ¢ ᯨ᪥
|
// ”®à¬¨à㥬 ®¢ãî § ¯¨áì ¢ ᯨ᪥
|
||||||
@ -110,7 +111,7 @@ dword ptr,newptr;
|
|||||||
}
|
}
|
||||||
ptr=DSDWORD[ESI+right];
|
ptr=DSDWORD[ESI+right];
|
||||||
}
|
}
|
||||||
ELSE internalerror("string found in tree when trying to add to it");
|
ELSE internalerror(STRING_ERROR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ESI=newptr;
|
ESI=newptr;
|
||||||
|
Loading…
Reference in New Issue
Block a user