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

Error reporting



Hi all,

I have implemented a class ErrorReporter to which every error message (produced during the compilation process) is sent, so it has typical methods like reportError(String error), reportErrorAndExit(String error), etc.

The only error message that needs a redirection to such an ErrorReporter, are the ones produced by SableCC's generated parser. Is it possible to do this in a simple (but not quick-and-dirty) way?

Greetings,
Pieter.