ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/mdParser/SimplePreprocessor.hpp
(Generate patch)

Comparing trunk/OOPSE-4/src/mdParser/SimplePreprocessor.hpp (file contents):
Revision 2661 by tim, Thu Mar 23 14:59:14 2006 UTC vs.
Revision 2678 by chuckv, Wed Mar 29 22:24:59 2006 UTC

# Line 48 | Line 48
48   #include "utils/StringTokenizer.hpp"
49   #include "utils/Trim.hpp"
50   #include "utils/OOPSEException.hpp"
51 + #include "utils/simError.h"
52  
53 +
54   /**
55   * @class SimplePreprocessor
56   * @brief A simple preprocessor.
# Line 72 | Line 74 | class SimplePreprocessor {
74              if (!input.is_open()) {
75                  std::stringstream ss;
76                  ss << "Can not open " << filename << " for preprocessing\n";
77 +                
78 +                sprintf(painCave.errMsg,
79 +                        "Can not open (%s) for processing. \n"
80 +                        "\tPlease check md file name syntax.\n", filename.c_str());
81 +                
82 +                painCave.isFatal = 1;
83 +                simError();
84 +                
85                  throw OOPSEException(ss.str());                
86              }
87              int lineNo =1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines