diff options
Diffstat (limited to 'ghc/compiler/yaccParser/README.debug')
-rw-r--r-- | ghc/compiler/yaccParser/README.debug | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ghc/compiler/yaccParser/README.debug b/ghc/compiler/yaccParser/README.debug new file mode 100644 index 0000000000..17503dd4b9 --- /dev/null +++ b/ghc/compiler/yaccParser/README.debug @@ -0,0 +1,12 @@ +If you want to debug... + +* the lexer: + + run "flex" with the -d flag; compile as normal thereafter + +* the parser: + + compile hsparser.tab.c and main.c with EXTRA_CC_OPTS=-DHSP_DEBUG + + run hsp with -D; it's dumping the output into *stdout*, + so you have to do something weird to look at it. |