[project @ 1996-03-19 08:58:34 by partain]
[ghc-hetmet.git] / ghc / compiler / parser / README.debug
1 If you want to debug...
2
3 * the lexer:
4
5     run "flex" with the -d flag; compile as normal thereafter
6
7 * the parser:
8
9     compile hsparser.tab.c and main.c with EXTRA_CC_OPTS=-DHSP_DEBUG
10
11     run hsp with -D; it's dumping the output into *stdout*,
12     so you have to do something weird to look at it.