summaryrefslogtreecommitdiff
path: root/src/core_env.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-04-12 10:08:11 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-04-12 10:08:11 -0400
commit64f0edf6a5db26ed8f872e18a43416cce7fcbab8 (patch)
treea661373caf0683dea44543b9997278159a574d1b /src/core_env.sml
parentd7306dbac8ca9eecbba9d65379d225b5433b19fc (diff)
style declarations
Diffstat (limited to 'src/core_env.sml')
-rw-r--r--src/core_env.sml6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core_env.sml b/src/core_env.sml
index 95226bb7..01a791a0 100644
--- a/src/core_env.sml
+++ b/src/core_env.sml
@@ -334,6 +334,12 @@ fun declBinds env (d, loc) =
in
pushENamed env x n t NONE s
end
+ | DStyle (x, n, c, s) =>
+ let
+ val t = (CApp ((CFfi ("Basis", "css_class"), loc), c), loc)
+ in
+ pushENamed env x n t NONE s
+ end
fun patBinds env (p, loc) =
case p of