From 7e7119cdc5e5ea7748396d1d22afa33ce51136fd Mon Sep 17 00:00:00 2001 From: Yogev Ezra Date: Sat, 5 Feb 2011 18:09:12 +0000 Subject: [PATCH] C--: fix some compiler warnings git-svn-id: svn://kolibrios.org@1849 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/c--/trunk/directiv.h-- | 4 ++-- programs/develop/c--/trunk/tree.h-- | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/programs/develop/c--/trunk/directiv.h-- b/programs/develop/c--/trunk/directiv.h-- index 00f0768aec..9d67e7d086 100644 --- a/programs/develop/c--/trunk/directiv.h-- +++ b/programs/develop/c--/trunk/directiv.h-- @@ -141,7 +141,7 @@ dword pname1,pname2,j; _llseek(dll,fptr+6,0); _lread(dll,#nsect,2); // Number of sections delta=export; i=1; - while(i<=nsect){ + WHILE(i<=nsect){ 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 IF(base<=export){ @@ -273,7 +273,7 @@ byte var_name[IDLENGTH]; linenum2++; // Обнаружен конец строки totallines++; } - else if(AL=='}'){ // блок закрыт + else IF(AL=='}'){ // блок закрыт count--; IF(count==0){ // конец процедуры ESI>