diff src/core_util.sml @ 720:acb8537f58f0

Stop tracking CSS classes in XML types
author Adam Chlipala <adamc@hcoop.net>
date Sun, 12 Apr 2009 12:31:54 -0400
parents f152f215a02c
children 8688e01ae469
line wrap: on
line diff
--- a/src/core_util.sml	Sun Apr 12 11:08:00 2009 -0400
+++ b/src/core_util.sml	Sun Apr 12 12:31:54 2009 -0400
@@ -951,10 +951,7 @@
                 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 @@
                                         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 @@
                           | 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