[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[open-cobol-list] How do I report bugs?
From: |
Dave Stratford |
Subject: |
[open-cobol-list] How do I report bugs? |
Date: |
Sat, 10 Apr 2010 21:08:28 +0100 |
User-agent: |
Pluto/3.04c (RISC-OS/6.20) |
Hi Folks,
I've been running a number of VME C2 cobol sources through the open cobol
compiler and found two, possibly three minor bugs in the 1.1 release.
Fortunately they are all minor, but would prevent anyone from just lifting
the code from the VME mainframe and dropping it directly into open cobol
without having to go through and check, and most likely change, every
single source.
1) According to the cobol standard, INITIALISE is a valid alternative
spelling for INITIALIZE, OC doesn't allow it when technically it should.
2) OC only allows a single word in the SOURCE-COMPUTER and OBJECT-COMPUTER
sentences for the computer name. I realise that this is purely documentary
but the computer name should allow more than 1 word.
3) The following STRING statement failed on the "IS". It compiled quite
happily on C2 cobol on VME as the "IS" is just a noise word anyway. I'm
not sure whether this is an error in OC, or in C2 cobol which perhaps
shouldn't have let it through.
STRING WH-SPAN-O DELIMITED BY SIZE
WM-WORD-2 DELIMITED BY SPACES
WH-SPAN-C DELIMITED BY SIZE
WM-WORD-3 DELIMITED BY SPACES
" " DELIMITED BY SIZE
WM-WORD-4 DELIMITED BY SPACES
" " DELIMITED BY SIZE
WM-WORD-5 DELIMITED BY SPACES
" " DELIMITED BY SIZE
WM-REMAINDER DELIMITED BY SIZE
INTO F03-REC-200
POINTER IS WM-SPACE-COUNT
Dave
--
Hexagon Systems Ltd Experts in VME solutions www.hexagon-systems.co.uk
HSL Webz Experts in web design www.hsl-webz.co.uk
- [open-cobol-list] How do I report bugs?,
Dave Stratford <=