astyle formatting
This commit is contained in:
parent
e747b6c49b
commit
596b4bd405
|
@ -2609,7 +2609,7 @@ bool Tokenizer::simplifyLabelsCaseDefault()
|
|||
tok = tok->link();
|
||||
} else if (tok->str() == "?") {
|
||||
Token *tok1 = skipTernaryOp(tok);
|
||||
if(!tok1) {
|
||||
if (!tok1) {
|
||||
syntaxError(tok);
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -982,7 +982,7 @@ private:
|
|||
void garbageCode5() { // #5168
|
||||
tokenizeAndStringify("( asm : ; void : );");
|
||||
}
|
||||
|
||||
|
||||
void garbageCode6() { // #5214
|
||||
tokenizeAndStringify("int b = ( 0 ? ? ) 1 : 0 ;", /*simplify=*/true);
|
||||
tokenizeAndStringify("int a = int b = ( 0 ? ? ) 1 : 0 ;", /*simplify=*/true);
|
||||
|
|
Loading…
Reference in New Issue