diff src/corify.sml @ 704:70cbdcf5989b

UNIQUE constraints
author Adam Chlipala <adamc@hcoop.net>
date Tue, 07 Apr 2009 12:24:31 -0400
parents 230654093b51
children e6706a1df013
line wrap: on
line diff
--- a/src/corify.sml	Sun Apr 05 16:17:32 2009 -0400
+++ b/src/corify.sml	Tue Apr 07 12:24:31 2009 -0400
@@ -976,12 +976,12 @@
              end
            | _ => raise Fail "Non-const signature for 'export'")
 
-      | L.DTable (_, x, n, c) =>
+      | L.DTable (_, x, n, c, e) =>
         let
             val (st, n) = St.bindVal st x n
             val s = relify (doRestify (mods, x))
         in
-            ([(L'.DTable (x, n, corifyCon st c, s), loc)], st)
+            ([(L'.DTable (x, n, corifyCon st c, s, corifyExp st e), loc)], st)
         end
       | L.DSequence (_, x, n) =>
         let
@@ -1052,7 +1052,7 @@
                              | L.DStr (_, n', _, str) => Int.max (n, Int.max (n', maxNameStr str))
                              | L.DFfiStr (_, n', _) => Int.max (n, n')
                              | L.DExport _ => n
-                             | L.DTable (_, _, n', _) => Int.max (n, n')
+                             | L.DTable (_, _, n', _, _) => Int.max (n, n')
                              | L.DSequence (_, _, n') => Int.max (n, n')
                              | L.DDatabase _ => n
                              | L.DCookie (_, _, n', _) => Int.max (n, n'))