GHC Lexer

Steffen Mazanek steffen.mazanek at
Wed Oct 15 15:45:29 EDT 2003


to add a new keyword, say "struct" to 
the GHC, I have added ITstruct to data
type Token in module Lex.lhs. Further
on I have adapted ghcExtensionKeywordsFM.
Is this already sufficient for lexing? 
In LexCore there is a function lexKeyword 
without a comment. It is called by lexer 
if the first character is %. What does this

Thank you,

More information about the Glasgow-haskell-users mailing list