cvs commit: fptools/ghc/utils/hsc2hs Main.hs Makefile
qrczak@glass.cse.ogi.edu
qrczak@glass.cse.ogi.edu
Sun, 4 Mar 2001 16:07:23 -0800
qrczak 2001/03/04 16:07:23 PST
Modified files:
ghc/utils/hsc2hs Main.hs Makefile
Log:
Use custom parser monad instead of Parsec. It remembers the text which
has been parsed, so it needs not to be reconstructed after parsing.
Operators containing '--' are now handled correctly. '#' triggers
special processing only if it's not a part of an operator, i.e. if
a varsym token is exactly a single '#'.
Backslash-newline pairs in C lexical world are now handled correctly
(removed at an early stage).
Option --keep replaced with --no-compile (stop after writing *.hs_make.c).
Revision Changes Path
1.25 +332 -138 fptools/ghc/utils/hsc2hs/Main.hs
1.10 +2 -2 fptools/ghc/utils/hsc2hs/Makefile