From 8930134d82c1efe9b27aa45a2a70cea5df63e3aa Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Mon, 28 Jun 2010 11:38:21 +0200 Subject: [PATCH] exception class fix --- components/compiler/exception.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/compiler/exception.hpp b/components/compiler/exception.hpp index ab073adfb..3f0ff4c55 100644 --- a/components/compiler/exception.hpp +++ b/components/compiler/exception.hpp @@ -15,7 +15,7 @@ namespace Compiler /// \brief Exception: File error - class FileException + class FileException : public SourceException { virtual const char *what() const throw() { return "can't read file"; } ///< Return error message @@ -23,7 +23,7 @@ namespace Compiler /// \brief Exception: EOF condition encountered - class EOFException + class EOFException : public SourceException { virtual const char *what() const throw() { return "end of file"; } ///< Return error message };