X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftextparser.h;h=2aefea91406a2dfe17b9d67835b255a26a0dade8;hb=35d0da96bad97214376f18d15078e6d731e6f219;hp=a260cd8f2e5d5a58df3f0156c552fa49c5ecaa18;hpb=2f79370bffe0bac865dc97c5114dc87c1936fbb4;p=libs%2Fdatafile.git diff --git a/source/textparser.h b/source/textparser.h index a260cd8..2aefea9 100644 --- a/source/textparser.h +++ b/source/textparser.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspdatafile -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_DATAFILE_TEXTPARSER_H_ #define MSP_DATAFILE_TEXTPARSER_H_ @@ -19,6 +12,7 @@ class TextParser: public ParserMode { public: TextParser(Input &, const std::string &); + virtual Statement parse(); protected: Statement parse_statement(const Token *); @@ -26,7 +20,7 @@ protected: bool is_delimiter(int); bool isodigit(int); std::string get_location(); - void parse_error(int, int); + void parse_error(int, const char *); }; } // namespace DataFile