#233 crash: Assertion `currentChar == '*' || currentChar == '&'' failed

closed-fixed
None
2015-01-03
2013-08-12
No

When running astyle-2.03 with this file [1], it crashes with:
astyle: src/ASFormatter.cpp:5871: bool astyle::ASFormatter::isArrayOperator() const: Assertion `currentChar == '*' || currentChar == '&'' failed.
Aborted (core dumped)

The reduced snipped to reproduce this is:
static struct script script0 __initdata = {
SCR_JUMP ^ IFTRUE (WHEN (SCR_MSG_OUT)),
};

[1] https://raw.github.com/genesi/linux-legacy/master/drivers/scsi/ncr53c8xx.c

Discussion

  • Jim Pattee

    Jim Pattee - 2013-10-09
    • status: open --> open-fixed
    • assigned_to: Jim Pattee
    • Priority: 5 --> 7
     
  • Jim Pattee

    Jim Pattee - 2013-10-09

    Fixed in SVN.

     
  • Jim Pattee

    Jim Pattee - 2013-11-05
    • status: open-fixed --> closed-fixed
     
  • Thomas Spura

    Thomas Spura - 2013-11-06

    Thanks! It seems to work fine now.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks