summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-05-16 16:37:48 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-05-16 16:37:48 -0400
commit3f937354e39cd071de23c72f38e53eb4811ee433 (patch)
tree159bdf5b87c47b776ed7f1f53b9f234f1f8b7866 /lib
parentda833d17ddc403e4cba138ddd0dde85bb03100f5 (diff)
Fix another problem with overwrites during JavaScript pattern matching
Diffstat (limited to 'lib')
-rw-r--r--lib/js/urweb.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/js/urweb.js b/lib/js/urweb.js
index d0322bff..39701b4d 100644
--- a/lib/js/urweb.js
+++ b/lib/js/urweb.js
@@ -30,8 +30,8 @@ function whine(msg) {
throw msg;
}
-function pf() {
- whine("Pattern match failure");
+function pf(loc) {
+ whine("Pattern match failure (" + loc + ")");
}
function runHandlers(kind, ls, arg) {