00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef PARSESTRUCT_H
00014 #define PARSESTRUCT_H
00015
00016 #include <string>
00017 #include <boost/shared_ptr.hpp>
00018
00019 namespace srchilite {
00020
00021 struct ParseStruct
00022 {
00023 const std::string path;
00024 const std::string file_name;
00025 unsigned int line;
00026 unsigned int pos;
00027
00028 ParseStruct(const std::string &pa, const std::string &name) :
00029 path(pa), file_name(name), line(1), pos(0) {}
00030 };
00031
00032 typedef boost::shared_ptr<ParseStruct> ParseStructPtr;
00033
00034 }
00035
00036 #endif // PARSESTRUCT_H