summaryrefslogtreecommitdiff
path: root/src/jscomp.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2011-03-10 20:22:03 -0500
committerGravatar Adam Chlipala <adam@chlipala.net>2011-03-10 20:22:03 -0500
commitcdc696d1aad6239ae526b7cd6c4e5cd3069db9e1 (patch)
treeaacb1636006c4769a35985cd865b599a4ff6d8f9 /src/jscomp.sml
parentb6ae43a264ce0b42db372879f682b45af3885d71 (diff)
Ignore JavaScript events in Effectize; allow extra spaces for 'jsFunc'; eat carriage returns at line ends in .urp files
Diffstat (limited to 'src/jscomp.sml')
-rw-r--r--src/jscomp.sml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jscomp.sml b/src/jscomp.sml
index cd08cc0d..9321b9ce 100644
--- a/src/jscomp.sml
+++ b/src/jscomp.sml
@@ -646,7 +646,8 @@ fun process file =
let
val name = case Settings.jsFunc (m, x) of
NONE => (EM.errorAt loc ("Unsupported FFI function "
- ^ x ^ " in JavaScript");
+ ^ m ^ "." ^ x ^ " in JavaScript");
+ app (fn ((m', x'), _) => print (m' ^ "." ^ x' ^ "\n")) (Settings.allJsFuncs ());
"ERROR")
| SOME s => s