Menu ▾ ▴

#97 multi-line assignments improperly indent

closed-fixed
2023-10-21
2011-06-28
Anonymous
No

When I run AStyle on code that has something to the effect of

someVal = someVal2 = someVal3 = someVal = someVal2 = someVal3 =
someVal = someVal2 = someVal3 = someVal = someVal2 =
someVal = someVal2 = someVal3 = someVal3 = 0;

If there are a large number of assignments, and these assignments have been broken into multple lines, each line is further endented than the last line e.g.:

someVal = someVal2 = someVal3 = someVal = someVal2 = someVal3 =
someVal = someVal2 = someVal3 = someVal = someVal2 =
someVal = someVal2 = someVal3 = someVal3 = 0;

The more lines the further over the indent...

Discussion

  • André Simon

    André Simon - 2023-06-30
    • status: open --> open-accepted
    • assigned_to: André Simon
     
  • André Simon

    André Simon - 2023-10-21
    • status: open-accepted --> closed-fixed
     
  • André Simon

    André Simon - 2023-10-21

    Fixed in 3.4.10

     

Log in to post a comment.