diff src/corify.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 5c099b1308ae
children 9864b64b1700
line wrap: on
line diff
--- a/src/corify.sml	Sun Apr 12 11:08:00 2009 -0400
+++ b/src/corify.sml	Sun Apr 12 12:31:54 2009 -0400
@@ -923,11 +923,10 @@
                                                ran' as
                                                     (L.CApp
                                                          ((L.CApp
-                                                               ((L.CApp
-                                                                     ((L.CApp ((L.CModProj (basis', [], "xml"), _),
-                                                                               (L.CRecord (_, [((L.CName "Html", _),
-                                                                                                _)]), _)), _), _),
-                                                                 _), _), _), _), _))) =>
+                                                               ((L.CApp ((L.CModProj (basis', [], "xml"), _),
+                                                                         (L.CRecord (_, [((L.CName "Html", _),
+                                                                                          _)]), _)), _), _),
+                                                           _), _), _))) =>
                                       let
                                           val ran = (L.TRecord (L.CRecord ((L.KType, loc), []), loc), loc)
                                           val ranT = (L.CApp ((L.CModProj (basis, [], "transaction"), loc),
@@ -1003,12 +1002,12 @@
         in
             ([(L'.DCookie (x, n, corifyCon st c, s), loc)], st)
         end
-      | L.DStyle (_, x, n, c) =>
+      | L.DStyle (_, x, n) =>
         let
             val (st, n) = St.bindVal st x n
             val s = doRestify (mods, x)
         in
-            ([(L'.DStyle (x, n, corifyCon st c, s), loc)], st)
+            ([(L'.DStyle (x, n, s), loc)], st)
         end
 
 and corifyStr mods ((str, _), st) =
@@ -1066,7 +1065,7 @@
                              | L.DSequence (_, _, n') => Int.max (n, n')
                              | L.DDatabase _ => n
                              | L.DCookie (_, _, n', _) => Int.max (n, n')
-                             | L.DStyle (_, _, n', _) => Int.max (n, n'))
+                             | L.DStyle (_, _, n') => Int.max (n, n'))
                        0 ds
 
 and maxNameStr (str, _) =