diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-04-12 12:31:54 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-04-12 12:31:54 -0400 |
commit | 84168a777e28ab53917bc3ed448cc90e6b00a4ed (patch) | |
tree | 9df501486d7beb6949a4743263fc15e53cf1c8e4 /src/core_util.sml | |
parent | 0f0d418e2290cdf5e6e392f65579756b37661be9 (diff) |
Stop tracking CSS classes in XML types
Diffstat (limited to 'src/core_util.sml')
-rw-r--r-- | src/core_util.sml | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/core_util.sml b/src/core_util.sml index 8ccd520a..d05aaa72 100644 --- a/src/core_util.sml +++ b/src/core_util.sml @@ -951,10 +951,7 @@ fun mapfoldB {kind = fk, con = fc, exp = fe, decl = fd, bind} = S.map2 (mfc ctx c, fn c' => (DCookie (x, n, c', s), loc)) - | DStyle (x, n, c, s) => - S.map2 (mfc ctx c, - fn c' => - (DStyle (x, n, c', s), loc)) + | DStyle _ => S.return2 dAll and mfvi ctx (x, n, t, e, s) = S.bind2 (mfc ctx t, @@ -1092,9 +1089,9 @@ fun mapfoldB (all as {bind, ...}) = in bind (ctx, NamedE (x, n, t, NONE, s)) end - | DStyle (x, n, c, s) => + | DStyle (x, n, s) => let - val t = (CApp ((CFfi ("Basis", "css_class"), #2 d'), c), #2 d') + val t = (CFfi ("Basis", "css_class"), #2 d') in bind (ctx, NamedE (x, n, t, NONE, s)) end @@ -1159,7 +1156,7 @@ val maxName = foldl (fn ((d, _) : decl, count) => | DSequence (_, n, _) => Int.max (n, count) | DDatabase _ => count | DCookie (_, n, _, _) => Int.max (n, count) - | DStyle (_, n, _, _) => Int.max (n, count)) 0 + | DStyle (_, n, _) => Int.max (n, count)) 0 end |