X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fparser.h;h=6ad28b5b13c7a3824e3f05422834792cf758bccd;hb=74f25b32f313987aad22af901b75a8e59a90734a;hp=40907dcdb86b4b6b5a21b7635463f5d242b310f2;hpb=5c98c1f499413c41fd46ddf71a46b481338d7d6b;p=libs%2Fdatafile.git diff --git a/source/parser.h b/source/parser.h index 40907dc..6ad28b5 100644 --- a/source/parser.h +++ b/source/parser.h @@ -9,7 +9,6 @@ namespace DataFile { class ParserMode; class Statement; -struct Token; /** Frontend for loading datafiles. Handles switching between text and binary @@ -35,7 +34,7 @@ public: marked as bad and no more statements may be read, even if the exception was caught. */ - Statement parse(); + Statement parse(bool raw = false); operator bool() const { return good && in; } };