GHC 6.5 stage 2 lexical error in Lexer.x

Vivian McPhail vivian.mcphail at paradise.net.nz
Fri Feb 24 10:00:45 EST 2006


Hi,

 

I’m trying to add variable brackets (analogous to variable infix operators)
to GHC 6.5.  I was trickling along slowly but now I’m at a loss.  I don’t
understand Unicode encoding so don’t understand how to fix this error
message:

 

make[2]: Entering directory `/d/ghc-src/ghc/ghc/compiler'

../../ghc/compiler/ghc-inplace -H32m -O0 -W -fno-warn-unused-matches
-fwarn-unused-imports  -istage2/utils  -istage2/basicTypes  -istage2/types
-istage2/hsSyn  -istage2/prelude  -istage2/rename  -istage2/typecheck
-istage2/deSugar  -istage2/coreSyn  -istage2/specialise  -istage2/simplCore
-istage2/stranal  -istage2/stgSyn  -istage2/simplStg  -istage2/codeGen
-istage2/main  -istage2/profiling  -istage2/parser  -istage2/cprAnalysis
-istage2/ndpFlatten  -istage2/iface  -istage2/cmm  -istage2/nativeGen
-istage2/ghci -Istage2 -DGHCI -package template-haskell -threaded -cpp
-fglasgow-exts -fno-generics -Rghc-timing -I. -IcodeGen -InativeGen -Iparser
-package Cabal -ignore-package lang -recomp -Rghc-timing -DDEBUG  -H16M
'-#include "hschooks.h"' -ignore-package ghc   -fgenerics
-funbox-strict-fields  -c parser/Lexer.hs -o stage2/parser/Lexer.o  -ohi
stage2/parser/Lexer.hi

 

parser/Lexer.x:593:10:

    lexical error in string/character literal at character '\8759'

<<ghc: 182600604 bytes, 15 GCs, 637334/1255648 avg/max bytes residency (2
samples), 16M in use, 0.02 INIT (0.00 elapsed), 21.64 MUT (21.72 elapsed),
0.54 GC (0.55 elapsed) :ghc>>

 

Source of error:

 

#if __GLASGOW_HASKELL__ >= 605

       ,("λ",         ITlam,          bit glaExtsBit)

       ,("â·",   ITdcolon,       bit glaExtsBit)

 

 

Any help appreciated!

 

Vivian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org//pipermail/cvs-ghc/attachments/20060225/09a2e479/attachment-0001.htm


More information about the Cvs-ghc mailing list