changeset 6964 | 6dde80ae7049 |
parent 6891 | ab9843957664 |
child 7038 | d853e4385241 |
--- a/tools/PascalPreprocessor.hs Sun Apr 29 21:17:27 2012 +0200 +++ b/tools/PascalPreprocessor.hs Mon Apr 30 16:55:02 2012 +0400 @@ -74,7 +74,7 @@ char '"' spaces char '}' - f <- liftIO (readFile fn) + f <- liftIO (readFile fn `catch` error ("File not found: " ++ fn)) c <- getInput setInput $ f ++ c return ""