aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/jscomp.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/jscomp.sml')
-rw-r--r--src/jscomp.sml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jscomp.sml b/src/jscomp.sml
index 4352693f..0e5c70de 100644
--- a/src/jscomp.sml
+++ b/src/jscomp.sml
@@ -541,6 +541,7 @@ fun process file =
Int.fmt StringCvt.OCT (ord ch),
3)) s
^ "\"")
+ | Prim.Char ch => str ("'" ^ String.str ch ^ "'")
| _ => str (Prim.toString p)
fun jsPat depth inner (p, _) succ fail =