From 0c96c62ef97c4fe279e889d5caec7c535c4563f4 Mon Sep 17 00:00:00 2001 From: Yogev Ezra Date: Sat, 5 Feb 2011 17:41:24 +0000 Subject: [PATCH] Test C-- git-svn-id: svn://kolibrios.org@1848 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/c--/trunk/directiv.h-- | 4 ++-- programs/develop/c--/trunk/enums.h-- | 2 -- programs/develop/c--/trunk/exe.h-- | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/programs/develop/c--/trunk/directiv.h-- b/programs/develop/c--/trunk/directiv.h-- index 3f7aa8997..00f0768ae 100644 --- a/programs/develop/c--/trunk/directiv.h-- +++ b/programs/develop/c--/trunk/directiv.h-- @@ -822,7 +822,7 @@ G01: } else IF(tok==tk_from){ NextTok(); - SHOW("count = DoFrom(1);\n"); + WRITESTR("count = DoFrom(1);\n"); i=size*elements; i-=count; loop(i)OP(byte 0); @@ -830,7 +830,7 @@ G01: } else IF(tok==tk_extract){ NextTok(); - SHOW("count = DoExtract(1);\n"); + WRITESTR("count = DoExtract(1);\n"); i=size*elements; i-=count; loop(i)OP(byte 0); diff --git a/programs/develop/c--/trunk/enums.h-- b/programs/develop/c--/trunk/enums.h-- index f5b62eac6..1600fccbe 100644 --- a/programs/develop/c--/trunk/enums.h-- +++ b/programs/develop/c--/trunk/enums.h-- @@ -1,6 +1,4 @@ //===== Глобальные константы -#define SHOW "WRITESTR" -// ---- #define STD_INPUT_HANDLE -10 #define STD_OUTPUT_HANDLE -11 #define STD_ERROR_HANDLE -12 diff --git a/programs/develop/c--/trunk/exe.h-- b/programs/develop/c--/trunk/exe.h-- index 75242f365..c82b97260 100644 --- a/programs/develop/c--/trunk/exe.h-- +++ b/programs/develop/c--/trunk/exe.h-- @@ -108,7 +108,7 @@ dword diskout; // Handle byte exefile[FILENAMESIZE]; { wsprintfA(#exefile,"%s.EXE",#rawfilename); - SHOW(#exefile); + WRITESTR(#exefile); diskout=_lcreat(#exefile,0); IF(EAX==0){ wsprintfA(#mapstr,"ERROR, unable to create output file %s.\n",#exefile);