X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftextparser.h;h=7d92c58a4c95922e1b9b769bad83bbf7672be57c;hb=215e719d0ef85f748898660d15d01e77ac551de9;hp=9dfcf6d2b13208df717b6cf0f9c84a573674adb8;hpb=27630d44298cb67e075c166f4421288cc8ca117e;p=libs%2Fdatafile.git diff --git a/source/textparser.h b/source/textparser.h index 9dfcf6d..7d92c58 100644 --- a/source/textparser.h +++ b/source/textparser.h @@ -1,7 +1,7 @@ /* $Id$ This file is part of libmspdatafile -Copyright © 2007 Mikko Rasa, Mikkosoft Productions +Copyright © 2007-2008 Mikko Rasa, Mikkosoft Productions Distributed under the LGPL */ @@ -19,15 +19,15 @@ class TextParser: public ParserMode { public: TextParser(Input &, const std::string &); + virtual Statement parse(); protected: Statement parse_statement(const Token *); Token parse_token(); bool is_delimiter(int); bool isodigit(int); - std::string unescape_string(const std::string &); std::string get_location(); - void parse_error(int, int); + void parse_error(int, const char *); }; } // namespace DataFile