gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [open-cobol-list] Output listing.


From: vince
Subject: Re: [open-cobol-list] Output listing.
Date: Wed, 13 Jun 2012 13:48:07 +0100
User-agent: KMail/4.6.1 (Linux/2.6.39.4-5.1-desktop; KDE/4.6.5; x86_64; ; )

On Friday 04 Feb 2011 13:50:14 John Culleton wrote:
> On Friday 12 November 2010 14:31:38 Vince Coen wrote:
> > On Friday 12 Nov 2010, John Culleton wrote:
> > > On Thursday 11 November 2010 17:36:09 Sergey Kashyrin wrote:
> > > > And actually that brings another good topic - I actually want
> > > > to see the comments lines in the COBOL listing, as well as in C
> > > > code ! I think that would be nice to achieve
> > > > 
> > > > Regards,
> > > > SK
> > > 
> > > Deleting comment lines seems to serve no purpose, I agree.
> > 
> > I also agree with including the comment lines for a listing.
> > I did have all source code listed in cobxref but the code to
> > process the copy statements was removed when I switched to using
> > the input produced by cobc.
> > 
> > A simple solution would be for cobc to have a switch to output the
> > full source to a file that can be printed. If Roger does not do
> > that for v2 I will reinstall the code that processed the original
> > source but I will have to add some stuff to deal with copy
> > replacing which I did not bother with on that specific version.
> > 
> > I will look at it in the next month or so to pass to the print file
> > all source prior to compressing (removing all instances of more
> > than one space) the code before the xref process starts, so
> > hopefully that will resolve your issues with cobc. However I do
> > need to look again at the code base to try and clear out some of
> > the bugs in cobxref.
> > 
> > Vince
> 
> How are you coming with this project? I recommend the Tiny COBOL
> listing as a good model to follow. It handles comments, copy files, the
> whole bit.

Ok, ok, so its been a while, but I have completed a program to do as you need 
as well as support most of the 'COPY' statement functions.

It has been announced in the Open Cobol forums but if you missed it you can 
get it from here as:

via the web http://applewoodbbs.mine.nu/files/Cobol-Dev/printcbl-latest.zip

or anonymous ftp applewoodbbs.mine.nu then after login 
cd pub/Cobol-Dev
bin
get printcbl-latest.zip

you can also run ls to get a list of all files in that area.

Vince
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]