[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnubol: Re: which parser tool
Error API is probably a good idea; wirth thinking about. The Russian Amory has
such a facility I believe.
The reference to processing text is basically that bison gives you a choice of
error messages out of the parser:
1. "Syntax error"
2. "Syntax error in line x at token 'abc' expecting 'def' or 'ghi'".
I like parser error messages that say what they are expecting because it gives
you clues about what the compiler is thinking and a way to diagnose the problem.
So I want to use that text, but to pretty it up.Potentially I could re-encode it
I guess. Anyway this one (parse errors) is only in one place so I can fix it up
any time.
Tim Josling
RKRayhawk@aol.com wrote:
> I can scan for this in the error
> messages and fix them up to meaningful values including removing tk_.
> >>
>
> In addition to gravitating to an API for error processing, let me urge a
> complete and total externalization of error text.
--
This message was sent through the gnu-cobol mailing list. To remove yourself
from this mailing list, send a message to majordomo@lusars.net with the
words "unsubscribe gnu-cobol" in the message body. For more information on
the GNU COBOL project, send mail to gnu-cobol-owner@lusars.net.