Hi!
consider this piece of code:
\begin{code}
class Dumb a where
foo, death, something :: a
instance Dumb Int where
foo = 1
death =
something = 1
\end{code}
yields 'Internal Happy error' with CVS from 1999/06/30 and happy-1.5 (sorry,
I didn't check out the CVS version of happy by now, so I cannot test that...)
BTW: is it just me, or does someone else notice, that every new version of
ghc takes more memory to compile itself? :-)
for example: rename/ParseIface.hs from 4.04 compiled with 4.04 needs about
'-H120m' and ghc says in "<<ghc: ..." something about 4.5 *GIGABYTES*! 8-O
And parser/Parser.hs will probably need a bigger '-H<size>'... (couldn't
test that, I'll upgrade memory tomorrow ;-))
There isn't a simple way to let happy split the generated files into smaller
pieces, is it? However, would that knock down memory usage?
Cheers,
Michael
--
Compaq Safety & Comfort Guide:
"Use the minimum amount of force that is needed to push down the keys. Avoid
banging on the keys using more force than is required."