Running astyle [ci skip]

This commit is contained in:
orbitcowboy 2020-12-27 12:38:21 +01:00
parent f1169bf2b4
commit f1688667a5
2 changed files with 5 additions and 6 deletions

View File

@ -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 * Stringify a token
@ -898,9 +898,9 @@ public:
*/ */
void stringify(std::ostream& os, bool varid, bool attributes, bool macro) const; void stringify(std::ostream& os, bool varid, bool attributes, bool macro) const;
std::string stringifyList(const stringifyOptions& options, const std::vector<std::string>* fileNames = nullptr, const Token* end = nullptr) const; std::string stringifyList(const stringifyOptions& options, const std::vector<std::string>* fileNames = nullptr, const Token* end = nullptr) const;
std::string stringifyList(const Token* end, bool attributes = true) const; std::string stringifyList(const Token* end, bool attributes = true) const;
std::string stringifyList(bool varid = false) const; std::string stringifyList(bool varid = false) const;
/** /**
* Stringify a list of token, from current instance on. * Stringify a list of token, from current instance on.

View File

@ -843,8 +843,7 @@ static void compileTerm(Token *&tok, AST_state& state)
Token *end = tok->link(); Token *end = tok->link();
compileUnaryOp(tok, state, compileExpression); compileUnaryOp(tok, state, compileExpression);
tok = end; tok = end;
} } else {
else {
state.op.push(tok); state.op.push(tok);
tok = tok->tokAt(2); tok = tok->tokAt(2);
} }