]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/textparser.h
Restructure control statement processing
[libs/datafile.git] / source / textparser.h
index 7d92c58a4c95922e1b9b769bad83bbf7672be57c..e8c89227ddc7300b7e745faca33a3f08c0089b8b 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspdatafile
-Copyright © 2007-2008  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_DATAFILE_TEXTPARSER_H_
 #define MSP_DATAFILE_TEXTPARSER_H_
 
@@ -13,7 +6,7 @@ Distributed under the LGPL
 namespace Msp {
 namespace DataFile {
 
-class Token;
+struct Token;
 
 class TextParser: public ParserMode
 {
@@ -24,10 +17,8 @@ public:
 protected:
        Statement parse_statement(const Token *);
        Token parse_token();
-       bool  is_delimiter(int);
-       bool  isodigit(int);
-       std::string get_location();
-       void  parse_error(int, const char *);
+       bool is_delimiter(int);
+       bool isodigit(int);
 };
 
 } // namespace DataFile