#291 multiplication is concatenated with pointer

closed-fixed
None
2015-01-03
2014-06-28
No

Astyle 2.04 changes
return (ma * mb)
into
return (ma *mb)

Discussion

  • Devon Schudy

    Devon Schudy - 2014-06-28

    Markdown ate some asterisks above. This problem happens whenever a pointer dereference is on the right side of a multiplication:

    foo(a * *b);
    return a * *b;
    

    becomes:

    foo(a **b);
    return a **b;
    

    in astyle 2.04, but astyle 2.02 leaves it intact.

     
    Last edit: Devon Schudy 2014-06-28
  • Jim Pattee

    Jim Pattee - 2014-09-17

    Fixed.

     
  • Jim Pattee

    Jim Pattee - 2014-09-17
    • status: open --> open-fixed
    • assigned_to: Jim Pattee
    • Priority: 5 --> 7
     
  • Janek Warchoł

    Janek Warchoł - 2014-09-27

    Great, thanks!
    Did you maybe look at issue 290, too? We (i.e. LilyPond) would be very happy to see that one resolved as well.

     
  • Jim Pattee

    Jim Pattee - 2014-11-20
    • Status: open-fixed --> closed-fixed
     

Log in to post a comment.