[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[open-cobol-list] Hello
From: |
Paul Hewlett |
Subject: |
[open-cobol-list] Hello |
Date: |
Sat Sep 11 02:11:02 2004 |
User-agent: |
KMail/1.6.2 |
Hi Everyone
I have been asked to study the feasibility of compiling COBOL on linux.
I
have downloaded the source of opencobol0.3 and compiled it and am attempting
to compile some example COBOL code.
So far I have encountered the following problems :
1. ASSIGN TO RANDOM "testfile.lnx"
The token RANDOM is unexpected. Removing it fixes
the problem. Likewise for ASSIGN TO PRINT etc...
2. DISPLAY " TEST FILE STATUS = " LINE 20 POSITION 5 REVERSE
W-TEST-STATUS LINE 20 POSITION 25 REVERSE
The token POSITION is not understood. Changing it to COLUMN
fixes the problem. I assume that putting a synonym for
COLUMN in the file parser.y will fix this.
3. 77 W-ASCII PIC 9(5) COMP-1.
The qualifier COMP-1 causes the entry to have an attribute
CB_USAGE_FLOAT. However when 'unpacking' the stack the code
calls the proc 'compute_size' and the case statement has no
entry for CB_USAGE_FLOAT causing an 'Internal compiler
error' by calling ABORT().(Line 620 of field.c). This may
be related to one of the bugs reported
Additionally I have added an extra option '-p' which if specified on the
commandline causes the global 'yydebug' to be set and one then gets a dump of
the internal logic of the parser.
Regards Paul Hewlett
--
__________________________________________________________________
< An artist should be fit for the best society and keep out of it. >
------------------------------------------------------------------
\ ^__^
\ ($$)\_______
(__)\ )\/\
||----w |
|| ||
--
Paul Hewlett (Linux #359543) Email:`echo address@hidden | rev`
Tel: +27 21 852 8812 Cel : +27 72 719 2725 FAX: +27 866720563
--
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [open-cobol-list] Hello,
Paul Hewlett <=