gnucobol-users
[Top][All Lists]
Advanced

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

RE: [open-cobol-list] syntax error from compiler.


From: William M. Klein
Subject: RE: [open-cobol-list] syntax error from compiler.
Date: Fri Jan 30 18:29:25 2004

Why do people think this is an IBM extension? (What am I missing?) This is
straight out of the '85 Standard (and earlier Standards as well). 

See page XV-5.

It is true that the "Debugging Module" (NOT debugging lines) is an optional
module and even that it is deemed "obsolete" in the '85 Standard (and
removed from the 2002 Standard) but there is nothing "extension" about it.

P.S.  It should be noted that IBM's current compiler only support "Level 1"
plus SOME of Level 2 of the optional debug module.

NOTE: I believe there are a (relatively) full set of CCVS tests for the
Debug Module. 

> -----Original Message-----
> From: address@hidden 
> [mailto:address@hidden On 
> Behalf Of Keisuke Nishida
> Sent: Wednesday, January 28, 2004 5:28 PM
> To: David Korn
> Cc: address@hidden
> Subject: Re: [open-cobol-list] syntax error from compiler.
> 
> At Tue, 27 Jan 2004 15:17:48 -0500 (EST),
> David Korn wrote:
> > 
> > I am getting the error
> >     parse error, unexpected FOR, expecting AFTER
> > with the lines
> >            DEBUG-DECLARE SECTION.
> >                USE FOR DEBUGGING ON ALL PROCEDURES.
> > Is this a known problem?
> 
> It seems this is an extension of IBM COBOL.  There is a
> description of this statement at:
> 
>   
> http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY
> 3LR10/8.1.15.4?SHELF=&DT=20020920180651&CASE=
> 
> I'll modify the parser to accept this statement and just
> ignore it.
> 
> Keisuke
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> open-cobol-list mailing list
> address@hidden
> https://lists.sourceforge.net/lists/listinfo/open-cobol-list
> 




reply via email to

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