--- sml/trunk/src/cm/smlfile/skel-exports.sml 1999/05/15 09:54:52 275 +++ sml/trunk/src/cm/smlfile/skel-exports.sml 1999/05/21 07:47:16 286 @@ -15,12 +15,12 @@ structure SS = SymbolSet fun exports d = let - fun e (SK.StrDecl l, a) = SS.addList (a, map #name l) - | e (SK.FctDecl l, a) = SS.addList (a, map #name l) - | e (SK.LocalDecl (l, b), a) = e (b, a) - | e (SK.SeqDecl l, a) = foldl e a l - | e (SK.OpenDecl _, a) = a (* cannot happen *) - | e (SK.DeclRef _, a) = a + fun e (SK.Bind (s, _), a) = SS.add (a, s) + | e (SK.Local (l, b), a) = e (b, a) + | e (SK.Par l, a) = foldl e a l + | e (SK.Seq l, a) = foldl e a l + | e (SK.Open _, a) = a (* cannot happen *) + | e (SK.Ref _, a) = a in e (d, SS.empty) end
Click to toggle
does not end with </html> tag
does not end with </body> tag
The output has ended thus: (SK.Open _, a) = a (* cannot happen *) + | e (SK.Ref _, a) = a in e (d, SS.empty) end