-/*
-This file is part of libmspparser
-Copyright © 2006 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-#ifndef MSP_PARSER_TOKEN_H_
-#define MSP_PARSER_TOKEN_H_
+#ifndef MSP_DATAFILE_TOKEN_H_
+#define MSP_DATAFILE_TOKEN_H_
+
+#include <string>
namespace Msp {
-namespace Parser {
+namespace DataFile {
struct Token
{
SPECIAL
};
- Type type;
+ Type type = SPECIAL;
std::string str;
- Token(): type(SPECIAL) { }
+ Token() = default;
Token(Type t, const std::string &s): type(t), str(s) { }
};
-} // namespace Parser
+} // namespace DataFile
} // namespace Msp
#endif