@@ -66,12 +66,18 @@ p_lie = \case
66 located l1 p_ieWrappedName
66 located l1 p_ieWrappedName
67 txt " (..)"
67 txt " (..)"
68 IEThingWith NoExt l1 w xs _ -> sitcc $ do
68 IEThingWith NoExt l1 w xs _ -> sitcc $ do
69+ -- XXX I have no idea what field labels are in this context.
69 located l1 p_ieWrappedName
70 located l1 p_ieWrappedName
70 breakpoint
71 breakpoint
71− -- XXX I have no idea what field labels are in this context.
73− p_ieWildcard w
73+ let names :: [R ()]
74+ names = located' p_ieWrappedName <$> xs
74− parens . velt $ withSep comma (located' p_ieWrappedName) xs
75+ parens . velt . withSep comma id $
77+ NoIEWildcard -> names
79+ let (before, after) = splitAt n names
80+ in before ++ [txt ".."] ++ after
75 IEModuleContents NoExt l1 -> located l1 p_hsmodName
81 IEModuleContents NoExt l1 -> located l1 p_hsmodName
76 -- XXX I have no idea what these things are for.
82 -- XXX I have no idea what these things are for.
77 IEGroup NoExt _ _ -> return ()
83 IEGroup NoExt _ _ -> return ()