> Like a lamb to the slaughter, I boldly tried the suggestion
> of generating the
> GHC parsers with -a -g -c and got the following messages:
>
> /usr/local/pub-bkb/ghc/ghc-latest/bin/ghc -cpp -fglasgow-exts
> -Rghc-timing -I. -IcodeGen -InativeGen -Iparser
> -iutils:basicTypes:types:hsSyn:prelude:rename:typecheck:deSuga
r:coreSyn:specialise:simplCore:stranal:stgSyn:simplStg:codeGen:absCSyn:>
main:profiling:parser:usageSP:cprAnalysis:nativeGen -recomp
> -Onot -K5m -H80m -optCrts-M90m -Onot -H45m -K2m -dcore-lint
> -fno-warn-incomplete-patterns -H30m -c rename/ParseIface.hs
> -o rename/ParseIface.o -osuf o
> ghc: ignoring heap-size-setting option (-H45m)...not the largest seen
> ghc: ignoring stack-size-setting option (-K 2000000)...not
> the largest seen
> ghc: ignoring heap-size-setting option (-H30m)...not the largest seen
> ghc: ignoring heap-size-setting option (-H45m)...not the largest seen
> ghc: ignoring stack-size-setting option (-K 2000000)...not
> the largest seen
> ghc: ignoring heap-size-setting option (-H30m)...not the largest seen
>
> GenericTemplate.hs:60: Variable not in scope: `!'
>
> ParseIface.hs:849: Variable not in scope: `array'
Add 'import Array' to the header in ParseIface.hs. Yes, Happy should do
this automatically, but it doesn't at the moment unfortunately.
Cheers,
Simon