#916 Nested class member variable declaration fails to parse

closed-fixed
nobody
None
5
2009-11-15
2008-05-09
No

Testcase below gives:
example.i(21): Error: Syntax error in input(3).

class DeltaSpec { };
struct Outer {
struct RecoveryDeltaSpec : DeltaSpec
{
RecoveryDeltaSpec()
{
}
} m_recoveryDeltaSpec;
}

When split out there are no parsing errors:

%ignore m_recoveryDeltaSpec;
class DeltaSpec { };
struct Outer {
struct RecoveryDeltaSpec : DeltaSpec
{
RecoveryDeltaSpec()
{
}
};
RecoveryDeltaSpec m_recoveryDeltaSpec;
};

Discussion

  • William Fulton

    William Fulton - 2009-11-15
    • status: open --> closed-fixed
     
  • William Fulton

    William Fulton - 2009-11-15

    This is now fixed in svn.

     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks