summaryrefslogtreecommitdiff
path: root/src/prim.sig
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2014-08-01 15:44:17 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2014-08-01 15:44:17 -0400
commit1816e4664bfa4b10cfdb9d10a871343acb250f83 (patch)
tree76d0a9801c5ad0dc1e08f11635a8c2010926586b /src/prim.sig
parent32aa8589761b58e24715818a7b3af73d69055b27 (diff)
Differentiate between HTML and normal string literals
Diffstat (limited to 'src/prim.sig')
-rw-r--r--src/prim.sig6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/prim.sig b/src/prim.sig
index 74147471..1da53d33 100644
--- a/src/prim.sig
+++ b/src/prim.sig
@@ -1,4 +1,4 @@
-(* Copyright (c) 2008, Adam Chlipala
+(* Copyright (c) 2008, 2014, Adam Chlipala
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -27,10 +27,12 @@
signature PRIM = sig
+ datatype string_mode = Normal | Html
+
datatype t =
Int of Int64.int
| Float of Real64.real
- | String of string
+ | String of string_mode * string
| Char of char
val p_t : t Print.printer