X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fstatement.cpp;h=125c1d5ab5403af6fd2b1d96cd2108000559bc4f;hb=HEAD;hp=e6b31a72b1096e71d71adf7ea24fc7db290f5cb6;hpb=b3b3fc2caf409f8c8ba523bbb3519af13b17e66e;p=libs%2Fdatafile.git diff --git a/source/statement.cpp b/source/statement.cpp index e6b31a7..57364bb 100644 --- a/source/statement.cpp +++ b/source/statement.cpp @@ -8,17 +8,10 @@ using namespace std; namespace Msp { namespace DataFile { -Statement::Statement(): - valid(false), - control(false), - line(0) -{ } - Statement::Statement(const string &kw): keyword(kw), valid(true), - control(!kw.compare(0, 2, "__")), - line(0) + control(!kw.compare(0, 2, "__")) { } string Statement::get_location() const @@ -59,10 +52,6 @@ Statement &Statement::append_from_token(const Token &token) } -StatementInfo::StatementInfo(): - args_size(0) -{ } - StatementInfo::StatementInfo(const string &k, const string &s): key(k, s), args_size(0)