next up previous contents index
Next: Algebraic Datatypes and Up: Lexer and Parser Previous: Interfacing with the

Debugging Parsers

Currently, only the most rudimentary debugging facilities have been implemented for parser. The user can define the macro DEBUG_C, where C is the name of a syntax class before the syntax definition. This will activate the parser debugging code. During parsing, the reductions that are taken will be printed to cerr.



Allen Leung
Mon Apr 7 14:33:55 EDT 1997