diff src/cjr_print.sml @ 292:6e665c7c96f6

Error-parsing ints
author Adam Chlipala <adamc@hcoop.net>
date Sun, 07 Sep 2008 12:15:46 -0400
parents df00701f2323
children 1afa94582275
line wrap: on
line diff
--- a/src/cjr_print.sml	Sun Sep 07 11:56:53 2008 -0400
+++ b/src/cjr_print.sml	Sun Sep 07 12:15:46 2008 -0400
@@ -554,7 +554,9 @@
              space,
              string "tmp;",
              newline,
-             string "lw_Basis_error(ctx, ",
+             string "lw_error(ctx, FATAL, \"",
+             string (ErrorMsg.spanToString loc),
+             string ": %s\", ",
              p_exp env e,
              string ");",
              newline,