From 1bf382e370e6db0e3a8d46f39b5df19bb2165297 Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Mon, 5 Nov 2012 01:42:36 -0800 Subject: [PATCH] Less sentience --- Shpell/Parser.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shpell/Parser.hs b/Shpell/Parser.hs index 4d63afb..8d3354d 100644 --- a/Shpell/Parser.hs +++ b/Shpell/Parser.hs @@ -960,7 +960,7 @@ readScript = do do { allspacing; commands <- readTerm; - eof <|> (parseProblem WarningC "Stopping here, because I can't parse this command"); + eof <|> (parseProblem ErrorC "Parsing stopped here because of parsing errors."); return $ T_Script id commands; } <|> do { parseProblem WarningC "Couldn't read any commands";