astyle style fixes
This commit is contained in:
parent
77cf2213fe
commit
1514e65464
|
@ -508,12 +508,12 @@ void Tokenizer::tokenize(std::istream &code, const char FileName[])
|
|||
|
||||
// Create copy of template..
|
||||
const Token *tok3 = tok->tokAt(5);
|
||||
addtoken(((tok3->str()==type)?type2:tok3->str()).c_str(), tok3->linenr(), tok3->fileIndex());
|
||||
addtoken(((tok3->str() == type) ? type2 : tok3->str()).c_str(), tok3->linenr(), tok3->fileIndex());
|
||||
addtoken(funcname2.c_str(), tok3->linenr(), tok3->fileIndex());
|
||||
int indentlevel = 0;
|
||||
for (tok3 = tok3->tokAt(2); tok3; tok3 = tok3->next())
|
||||
{
|
||||
addtoken(((tok3->str()==type)?type2:tok3->str()).c_str(), tok3->linenr(), tok3->fileIndex());
|
||||
addtoken(((tok3->str() == type) ? type2 : tok3->str()).c_str(), tok3->linenr(), tok3->fileIndex());
|
||||
|
||||
if (tok3->str() == "{")
|
||||
++indentlevel;
|
||||
|
|
Loading…
Reference in New Issue