From f1688667a599f6d7daf80c3618a8854bfd80e753 Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Sun, 27 Dec 2020 12:38:21 +0100 Subject: [PATCH] Running astyle [ci skip] --- lib/token.h | 8 ++++---- lib/tokenlist.cpp | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/lib/token.h b/lib/token.h index e55775345..07be123a6 100644 --- a/lib/token.h +++ b/lib/token.h @@ -887,7 +887,7 @@ public: } }; - void stringify(std::ostream& os, const stringifyOptions& options) const; + void stringify(std::ostream& os, const stringifyOptions& options) const; /** * Stringify a token @@ -898,9 +898,9 @@ public: */ void stringify(std::ostream& os, bool varid, bool attributes, bool macro) const; - std::string stringifyList(const stringifyOptions& options, const std::vector* fileNames = nullptr, const Token* end = nullptr) const; - std::string stringifyList(const Token* end, bool attributes = true) const; - std::string stringifyList(bool varid = false) const; + std::string stringifyList(const stringifyOptions& options, const std::vector* fileNames = nullptr, const Token* end = nullptr) const; + std::string stringifyList(const Token* end, bool attributes = true) const; + std::string stringifyList(bool varid = false) const; /** * Stringify a list of token, from current instance on. diff --git a/lib/tokenlist.cpp b/lib/tokenlist.cpp index 80f29cadd..8fee2c2f0 100644 --- a/lib/tokenlist.cpp +++ b/lib/tokenlist.cpp @@ -843,8 +843,7 @@ static void compileTerm(Token *&tok, AST_state& state) Token *end = tok->link(); compileUnaryOp(tok, state, compileExpression); tok = end; - } - else { + } else { state.op.push(tok); tok = tok->tokAt(2); }