From 5c98c1f499413c41fd46ddf71a46b481338d7d6b Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 25 Jul 2011 17:07:49 +0300 Subject: [PATCH] Style update: remove alignment --- source/parser.h | 6 +++--- source/statement.h | 6 +++--- source/textparser.cpp | 8 ++++---- source/textparser.h | 6 +++--- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/source/parser.h b/source/parser.h index a89799b..40907dc 100644 --- a/source/parser.h +++ b/source/parser.h @@ -19,11 +19,11 @@ statements may be read. class Parser { private: - Input in; + Input in; std::string main_src; std::string src; - bool good; - ParserMode *mode; + bool good; + ParserMode *mode; public: Parser(IO::Base &i, const std::string &s); diff --git a/source/statement.h b/source/statement.h index b26f2c8..f9287a5 100644 --- a/source/statement.h +++ b/source/statement.h @@ -13,10 +13,10 @@ public: typedef std::vector Arguments; std::string keyword; - Arguments args; - bool valid; + Arguments args; + bool valid; std::string source; - unsigned line; + unsigned line; std::list sub; Statement(); diff --git a/source/textparser.cpp b/source/textparser.cpp index 9545cdc..56c9bb2 100644 --- a/source/textparser.cpp +++ b/source/textparser.cpp @@ -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) { diff --git a/source/textparser.h b/source/textparser.h index 2aefea9..eb45233 100644 --- a/source/textparser.h +++ b/source/textparser.h @@ -17,10 +17,10 @@ public: protected: Statement parse_statement(const Token *); Token parse_token(); - bool is_delimiter(int); - bool isodigit(int); + bool is_delimiter(int); + bool isodigit(int); std::string get_location(); - void parse_error(int, const char *); + void parse_error(int, const char *); }; } // namespace DataFile -- 2.43.0