[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [open-cobol-list] BUG: "COPY REPLACING ..." and REQUEST for "mini-
From: |
Keisuke Nishida |
Subject: |
Re: [open-cobol-list] BUG: "COPY REPLACING ..." and REQUEST for "mini-listing" |
Date: |
Sun Feb 15 17:54:34 2004 |
User-agent: |
Wanderlust/2.10.0 (Venus) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (UnebigoryĆmae) APEL/10.3 Emacs/21.2 (i386-redhat-linux-gnu) MULE/5.0 (SAKAKI) |
At Thu, 12 Feb 2004 17:22:16 +0100,
Thomas Biehler wrote:
>
> The bug in the "COPY REPLACING" is
> the wrong order of the replacements.
> (error: the created chain of replacment-texts is in
> LIFO order instead of FIFO order!)
Right. I'll fix it and add the test. Thanks.
> ================================================
> REQUEST for "mini-listing":
> ================================================
> with the MF-Cobol Compiler i have created the following mini-listing:
> (command: "cob prog.cob -CRAWLIST -CCOPYLIST -C LIST=prog.list -C NORESEQ")
> ====================================================
>
> IDENTIFICATION DIVISION.
> PROGRAM-ID. prog.
> DATA DIVISION.
> WORKING-STORAGE SECTION.
> * COPY "copy.inc"
> * REPLACING ==TEST-VAR== BY ==FIRST-MATCH== ,
> * ==TEST-VAR== BY ==SECOND-MATCH== .
>
> 01 FIRST-MATCH PIC X(12) VALUE "REPLACING OK".
> PROCEDURE DIVISION.
> DISPLAY FIRST-MATCH NO ADVANCING.
> STOP RUN.
> ====================================================
Looks nice. I'll implement it after fixing the COPY/REPLACE statements,
which is I am already working on.
> - test 40 from cobol2002-run "MOVE with intermediate item"
> fails after your latest changes!
This is a test for an unimplemented feature. I added it by mistake.
> - you have wrote in another bug mail:
> I'll try to implement the complete text manipulation process before long.
> ==> I don't unterstand the I'll try short form in this context
> (with "before long").
> (Shall / Should or Will try -> Future ???)
> Please, could you write it for me in a long form?
> Remember, i am a non native english speaker. ;-)
Well, I wanted to say..
"I want to do it soon, but I am not sure if I can do it immediately
because there are many other stuff to do. Even if I can, I am not
sure if I can finish implementing it soon because this is not a
trivial task. I cannot promise that I will implement it in a few
days, but at least I'm putting it on the top of my TODO list, and
I'm working on it before other minor requests, such as nested
subprograms."
Just remind me what you want if you want to get it implemented sooner ;)
Keisuke