diff options
Diffstat (limited to 'nomsu_compiler.moon')
| -rw-r--r-- | nomsu_compiler.moon | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nomsu_compiler.moon b/nomsu_compiler.moon index 068173e..3993490 100644 --- a/nomsu_compiler.moon +++ b/nomsu_compiler.moon @@ -20,13 +20,13 @@ fail_at = (source, msg)-> title, err_msg, hint = msg\match("([^:]*):[ \n]+(.*)[ \n]+Hint: (.*)") if not err_msg - err_msg, hint = msg\match("*(.*)[ \n]+Hint:[ \n]+(.*)") - title = "Error" + err_msg, hint = msg\match("(.*)[ \n]+Hint:[ \n]+(.*)") + title = "Failure" if not err_msg title, err_msg = msg\match("([^:]*):[ \n]+(.*)") if not err_msg err_msg = msg - title = "Error" + title = "Failure" err_str = pretty_error{ title: title, |
