diff options
author | Adam Chlipala <adam@chlipala.net> | 2011-12-03 10:00:10 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2011-12-03 10:00:10 -0500 |
commit | 2286c970ce9d32a630e289df2685dbdff8e18217 (patch) | |
tree | 999270929063a6966b6a45583e091ce015e612b3 /src/jscomp.sml | |
parent | 7136358c17f8193173e8a0a9469821039212d879 (diff) |
Allow sources to be returned by RPCs
Diffstat (limited to 'src/jscomp.sml')
-rw-r--r-- | src/jscomp.sml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jscomp.sml b/src/jscomp.sml index 3e475899..16043ba5 100644 --- a/src/jscomp.sml +++ b/src/jscomp.sml @@ -310,6 +310,8 @@ fun process file = | TFfi ("Basis", "bool") => ("t[i++] == \"1\"", st) + | TSource => ("parseSource(t[i++], t[i++])", st) + | TOption t => let val (e, st) = unurlifyExp loc (t, st) |