gnucobol-users
[Top][All Lists]
Advanced

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

[open-cobol-list] Compiler error.


From: john Culleton
Subject: [open-cobol-list] Compiler error.
Date: Tue, 23 Apr 2013 09:50:39 -0400

And now another one. my program compiles until it encounters:

        MOVE SPACES TO NAME-STORE.
        ACCEPT NAME-STORE AT COL 15. 
Then I get this error:

Unexpected tree tag 28
codegen.c:1295: Internal compiler error
Aborting compile of bib002.cbl at line 70

(line 69 is the last line in the incomplete program)

Either reference to NAME-STORE causes the error. If I comment out
both of them the compile error goes away.

NAME-STORE is defined as follows in context:
     77  BIBNAME PIC X(10) VALUE "BIB001.FIL".
     77  NAME-STORE PIC X(15).
     77  YEAR-STORE  PIC X(5).
    (etc.)

Similar references to YEAR-STORE etc. cause no problems. I grepped my
program for NAME-STORE and the above references plus reference in a
STRING statement are the only ones. Commenting out the STRING
statement has no effect.

NAME-STORE is of course not a reserved word. 
-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
PDF e-book: "Create Book Covers with Scribus"
available at http://www.booklocker.com/books/4055.html


reply via email to

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