X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbinaryparser.h;h=e6735f2435a71c447450ecd58aacbf46342859be;hb=6653c7d83dbe1fe81a541a125be8bb808b234eb7;hp=b10d7b8791916a8e5ce37257c88da1b33603f6bd;hpb=e0af585ed57bdb5b1ea4f4a415fda13b5d99d2dc;p=libs%2Fdatafile.git diff --git a/source/binaryparser.h b/source/binaryparser.h index b10d7b8..e6735f2 100644 --- a/source/binaryparser.h +++ b/source/binaryparser.h @@ -21,13 +21,14 @@ private: Dictionary dict; StringMap strings; bool first; + unsigned float_precision; public: BinaryParser(Input &i, const std::string &s); - virtual Statement parse(); + virtual Statement parse(bool); private: - Statement parse_statement(); + Statement parse_statement(bool); IntType::Store parse_int(); FloatType::Store parse_float(); StringType::Store parse_string();