]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/textparser.h
Some more code reformatting
[libs/datafile.git] / source / textparser.h
index a260cd8f2e5d5a58df3f0156c552fa49c5ecaa18..7d92c58a4c95922e1b9b769bad83bbf7672be57c 100644 (file)
@@ -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,6 +19,7 @@ class TextParser: public ParserMode
 {
 public:
        TextParser(Input &, const std::string &);
+
        virtual Statement parse();
 protected:
        Statement parse_statement(const Token *);
@@ -26,7 +27,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