Fix enum constants wrapping
This commit is contained in:
parent
0ac3f1b291
commit
d30208ee1f
|
@ -1314,6 +1314,7 @@ private:
|
||||||
{
|
{
|
||||||
if (isWrapToken)
|
if (isWrapToken)
|
||||||
{
|
{
|
||||||
|
if (!indents.topIs(tok!"enum"))
|
||||||
pushWrapIndent();
|
pushWrapIndent();
|
||||||
write(" ");
|
write(" ");
|
||||||
writeToken();
|
writeToken();
|
||||||
|
@ -1331,6 +1332,7 @@ private:
|
||||||
{
|
{
|
||||||
if (isWrapToken)
|
if (isWrapToken)
|
||||||
{
|
{
|
||||||
|
if (!indents.topIs(tok!"enum"))
|
||||||
pushWrapIndent();
|
pushWrapIndent();
|
||||||
newline();
|
newline();
|
||||||
writeToken();
|
writeToken();
|
||||||
|
|
Loading…
Reference in New Issue