On Thu, 21 Jun 2012 01:51:21 -0700, Tom Ross wrote:
>
>For compiler messages all you need is the line of source gettin flagged, a
>description of what is wrong (the messae) and the Language Reference Manual.
> 
Amen.  Mostly.  It would be further helpful if the message text
identified the specific relevant section number of the Language
Reference Manual (perhaps even a URL of the online doc.)
(This is akin to merging M&C info into the LRM.)

And it's always helpful if the error text in the listing contains a line
indicating the specific token in error.
                                  ^--- like this.

SMP/E messages are a prime offender with such as:

    GIMxxxxxE STATEMENT CONTAINS A SYNTAX ERROR AT COLUMN 42

How hard would it be to highlight with five asterisks in columns 40-44
of the next line?  (I don't use COBOL; perhaps it already does this;
my praise if so.)

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to