fix space_before_function_parameters
This commit is contained in:
parent
5ed20e0a3c
commit
aa45bda1a8
|
@ -281,7 +281,7 @@ private:
|
||||||
{
|
{
|
||||||
writeToken();
|
writeToken();
|
||||||
if (index < tokens.length && (currentIs(tok!"identifier")
|
if (index < tokens.length && (currentIs(tok!"identifier")
|
||||||
|| ( index < 1 && ( isBasicType(peekBack(2).type) || peekBack2Is(tok!"identifier") ) &&
|
|| ( index > 1 && ( isBasicType(peekBack(2).type) || peekBack2Is(tok!"identifier") ) &&
|
||||||
currentIs(tok!("(")) && config.dfmt_space_before_function_parameters )
|
currentIs(tok!("(")) && config.dfmt_space_before_function_parameters )
|
||||||
|| isBasicType(current.type) || currentIs(tok!"@") || currentIs(tok!"if")
|
|| isBasicType(current.type) || currentIs(tok!"@") || currentIs(tok!"if")
|
||||||
|| isNumberLiteral(tokens[index].type) || (inAsm
|
|| isNumberLiteral(tokens[index].type) || (inAsm
|
||||||
|
|
Loading…
Reference in New Issue