// // C++ Interface: parsestruct // // Description: // // // Author: Lorenzo Bettini , (C) 2004 // // Copyright: See COPYING file that comes with this distribution // // #ifndef PARSESTRUCT_H #define PARSESTRUCT_H #include #include namespace srchilite { struct ParseStruct { const std::string path; const std::string file_name; unsigned int line; unsigned int pos; ParseStruct(const std::string &pa, const std::string &name) : path(pa), file_name(name), line(1), pos(0) {} }; typedef boost::shared_ptr ParseStructPtr; } #endif // PARSESTRUCT_H