X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fbinarywriter.cpp;fp=source%2Fbinarywriter.cpp;h=95526bbae84666b6b02997ec68c724a1a357e6d8;hb=505042fcda16151f5ace243c243d34af3efcf677;hp=e89def35a8eeac9dc7cab2c55202ef251e8701b8;hpb=27630d44298cb67e075c166f4421288cc8ca117e;p=libs%2Fdatafile.git diff --git a/source/binarywriter.cpp b/source/binarywriter.cpp index e89def3..95526bb 100644 --- a/source/binarywriter.cpp +++ b/source/binarywriter.cpp @@ -18,7 +18,7 @@ BinaryWriter::BinaryWriter(ostream &o): next_st_id(3), next_enum_id(1) { - dict[DictEntry("__kw", "iss")]=1; + dict[DictEntry("__st", "iss")]=1; dict[DictEntry("__enum", "is")]=1; } @@ -72,7 +72,7 @@ void BinaryWriter::collect_keywords(const Statement &st) if(!dict.count(de)) { Statement kst; - kst.keyword="__kw"; + kst.keyword="__st"; kst.args.push_back(next_st_id); kst.args.push_back(de.keyword); kst.args.push_back(de.args);