Parse errors

Ian Lynagh igloo@earth.li
Sun, 16 Dec 2001 21:46:13 +0000


It looks like hugs has a problem with empty topdecls (allowable via
topdecl -> decl -> gendecl) - with both of these modules:

    type T = String;
    data D = D

    module Foo where {
    type T = String;;
    data D = D
    }

I get

    ERROR "q.lhs":3 - Syntax error in definition (unexpected `;', possibly
    due to bad layout)


Thanks
Ian