gnucobol-users
[Top][All Lists]
Advanced

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

[open-cobol-list] Patch for: SELECT file-name ASSIGN TO data-name-1 OF


From: Thomas Biehler
Subject: [open-cobol-list] Patch for: SELECT file-name ASSIGN TO data-name-1 OF .... (Qualification allowed!)
Date: Tue Mar 9 07:20:18 2004
User-agent: KMail/1.4.3

Hi Keisuke,

could you apply this patch for parser.y:

cvs diff parser.y

Index: parser.y
===================================================================
RCS file: /cvsroot/open-cobol/open-cobol/cobc/parser.y,v
retrieving revision 1.554
diff -r1.554 parser.y
505c505
< | WORD
---
> | qualified_word


Qualification for data-name-1 is allowed (at least) with MF and 
the new cobol standard. 
(in COBOL 2002 with additional "USING"  ==> ... USING data-name-1)

see   ISO/IEC 1989:2002(E)
§ 12.3.4.2 
ALL FORMATS  (7)  and (8) !  :

I have not checked other standards ...

Thomas

P.S. i am short in time at the moment ...


reply via email to

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