]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/textparser.cpp
Style update: remove alignment
[libs/datafile.git] / source / textparser.cpp
index 00192ccc147ce24f4c181a751a741d8fc1481b3d..56c9bb2b07d75fbbdac9394b4edf42c314d6fdb2 100644 (file)
@@ -1,11 +1,4 @@
-/* $Id$
-
-This file is part of libmspdatafile
-Copyright © 2007-2008, 2010  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
-#include <msp/strings/formatter.h>
+#include <msp/strings/format.h>
 #include <msp/strings/utils.h>
 #include "input.h"
 #include "textparser.h"
@@ -28,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)
        {
@@ -167,8 +160,8 @@ Token TextParser::parse_token()
        };
 
        ParseState state = INIT;
-       string     buf;
-       bool       escape = false;
+       string buf;
+       bool escape = false;
 
        while(in || state==INIT)
        {