@@ -202,11 +202,7 @@ jsStmt2Text (JsSwitchCase exp l d) =
202 default2Text Nothing = ""
202 default2Text Nothing = ""
203 default2Text (Just z) =
203 default2Text (Just z) =
204 T.concat ["default:\n", indent $ T.concat [jsStmt2Text z, ";\nbreak;\n"]]
204 T.concat ["default:\n", indent $ T.concat [jsStmt2Text z, ";\nbreak;\n"]]
205−jsStmt2Text (JsError t) =
205+jsStmt2Text (JsError t) = T.concat ["$JSRTS.die(", jsAst2Text t, ");\n"]
207− [ "console.error(", jsAst2Text t, ");\n"
208− , "process.exit(-1);"
210jsStmt2Text (JsForever x) =
206jsStmt2Text (JsForever x) =
211 T.concat ["for(;;) {\n", indent $ jsStmt2Text x, "}\n"]
207 T.concat ["for(;;) {\n", indent $ jsStmt2Text x, "}\n"]
212jsStmt2Text JsContinue = "continue;"
208jsStmt2Text JsContinue = "continue;"