diff src/elab_env.sml @ 718:f152f215a02c

style declarations
author Adam Chlipala <adamc@hcoop.net>
date Sun, 12 Apr 2009 10:08:11 -0400
parents 7292bcb7c02d
children acb8537f58f0
line wrap: on
line diff
--- a/src/elab_env.sml	Thu Apr 09 16:36:50 2009 -0400
+++ b/src/elab_env.sml	Sun Apr 12 10:08:11 2009 -0400
@@ -1434,6 +1434,12 @@
         in
             pushENamedAs env x n t
         end
+      | DStyle (tn, x, n, c) =>
+        let
+            val t = (CApp ((CModProj (tn, [], "css_class"), loc), c), loc)
+        in
+            pushENamedAs env x n t
+        end
 
 fun patBinds env (p, loc) =
     case p of