[nhc-bugs] Parse problems
Ian Lynagh
igloo@earth.li
Tue, 11 Dec 2001 13:23:33 +0000
Hi,
With the module
{
main = undefined
foo = 5
}
I get
4:6 Found = but expected one of }' ; {-end-of-definition-} prefix
_infix_ _infixr_ _infixl_ <string> <char> <rational> <integer> ~ [ ( _
<conid> <varid> ` <varop> <conop> foreign _default_ _instance_ _class_
_data_ _newtype_ _type_
and with
module Foo where {
foo = 5
bar = 6
}
I get
4:6 Found = but expected one of }' ; {-end-of-definition-} prefix
_infix_ _infixr_ _infixl_ <string> <char> <rational> <integer> ~ [ ( _
<conid> <varid> ` <varop> <conop> foreign _default_ _instance_ _class_
_data_ _newtype_ _type_
Thanks
Ian