X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftextparser.cpp;h=56c9bb2b07d75fbbdac9394b4edf42c314d6fdb2;hb=5c98c1f499413c41fd46ddf71a46b481338d7d6b;hp=930ce875d782a58a43f6063ce30a4c3aab0b66ef;hpb=7df5e45c7f414f6a07681dc4ec2abb63b091a309;p=libs%2Fdatafile.git diff --git a/source/textparser.cpp b/source/textparser.cpp index 930ce87..56c9bb2 100644 --- a/source/textparser.cpp +++ b/source/textparser.cpp @@ -1,4 +1,4 @@ -#include +#include #include #include "input.h" #include "textparser.h" @@ -21,8 +21,8 @@ Statement TextParser::parse() Statement TextParser::parse_statement(const Token *t) { Statement result; - bool sub = false; - bool finish = false; + bool sub = false; + bool finish = false; while(in) { @@ -160,8 +160,8 @@ Token TextParser::parse_token() }; ParseState state = INIT; - string buf; - bool escape = false; + string buf; + bool escape = false; while(in || state==INIT) {